home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Utilities / StackToolsMenu1.1 / StackTools Menu Stacks / StackTools6 < prev    next >
MacBinary  |  1991-09-05  |  30.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: StackTools6

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Mar 21 06:55:58 1991, modified Thu Sep 5 07:34:12 1991, creator HyperCard, type HyperCard stack, 30816 bytes "StackTools6" , at 0x78e0 522 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 74 61 63 6b 54 | 6f 6f 6c 73 36 00 00 00 |..StackT|ools6...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 78 60 00 | 00 02 0a a4 0e 4f ce a4 |.....x`.|.....O..|
|00000060| eb c6 b4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 85 91 00 00 |........|........|
|00000080| 00 00 64 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..d.STAK|........|
|00000090| 00 00 00 0a 00 00 78 60 | 00 00 64 00 00 00 00 00 |......x`|..d.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 45 00 00 00 01 |........|...E....|
|000000b0| 00 00 0b 29 00 00 11 33 | 00 00 00 00 00 00 00 00 |...)...3|........|
|000000c0| 00 00 0f 43 00 00 00 00 | 00 05 00 00 10 00 00 00 |...C....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 01 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| de 92 c6 f2 00 00 00 00 | 00 b2 00 a0 01 52 01 e0 |........|.....R..|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 87 00 00 0c e7 | 00 a0 01 40 00 00 00 00 |........|...@....|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 53 74 61 63 6b | 54 6f 6f 6c 73 36 0d 2d |-- Stack|Tools6.-|
|00000690| 2d 20 4d 69 73 63 20 48 | 61 6e 64 6c 65 72 73 20 |- Misc H|andlers |
|000006a0| 66 6f 72 20 53 74 61 63 | 6b 54 6f 6f 6c 73 20 4d |for Stac|kTools M|
|000006b0| 65 6e 75 20 76 31 2e 31 | 0d 2d 2d 20 a9 31 39 39 |enu v1.1|.-- .199|
|000006c0| 31 20 53 63 6f 74 74 20 | 53 74 65 6e 68 6f 75 73 |1 Scott |Stenhous|
|000006d0| 65 0d 0d 2d 2d 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |e..-- **|********|
|000006e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000006f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000710| 2a 2a 2a 2a 2a 0d 2d 2d | 20 54 68 65 20 66 6f 6c |*****.--| The fol|
|00000720| 6c 6f 77 69 6e 67 20 65 | 78 74 65 72 6e 61 6c 73 |lowing e|xternals|
|00000730| 20 61 72 65 20 75 73 65 | 64 20 69 6e 20 74 68 65 | are use|d in the|
|00000740| 20 53 74 61 63 6b 54 6f | 6f 6c 73 20 4d 65 6e 75 | StackTo|ols Menu|
|00000750| 20 73 74 61 63 6b 73 3a | 0d 0d 2d 2d 20 20 20 20 | stacks:|..-- |
|00000760| 20 20 53 68 6f 77 44 69 | 61 6c 6f 67 20 20 20 a9 | ShowDi|alog .|
|00000770| 4a 61 79 20 48 6f 64 67 | 64 6f 6e 20 20 28 73 68 |Jay Hodg|don (sh|
|00000780| 61 72 65 77 61 72 65 29 | 0d 2d 2d 20 20 20 20 20 |areware)|.-- |
|00000790| 20 50 72 69 6e 74 44 6f | 63 20 20 20 a9 4a 61 79 | PrintDo|c .Jay|
|000007a0| 20 48 6f 64 67 64 6f 6e | 20 20 28 73 68 61 72 65 | Hodgdon| (share|
|000007b0| 77 61 72 65 29 0d 2d 2d | 20 20 20 20 20 20 43 6f |ware).--| Co|
|000007c0| 6d 6d 61 6e 64 50 65 72 | 69 6f 64 20 20 20 a9 47 |mmandPer|iod .G|
|000007d0| 65 6f 72 67 65 20 50 79 | 74 6c 69 6b 0d 2d 2d 20 |eorge Py|tlik.-- |
|000007e0| 20 20 20 20 20 4d 65 6e | 75 20 32 2e 31 20 20 20 | Men|u 2.1 |
|000007f0| a9 46 72 8e 64 8e 72 69 | 63 20 52 69 6e 61 6c 64 |.Fr.d.ri|c Rinald|
|00000800| 69 0d 2d 2d 20 20 20 20 | 20 20 46 75 6c 6c 46 69 |i.-- | FullFi|
|00000810| 6e 64 20 58 46 43 4e 20 | 76 20 31 2e 31 20 20 20 |nd XFCN |v 1.1 |
|00000820| a9 46 72 8e 64 8e 72 69 | 63 20 52 69 6e 61 6c 64 |.Fr.d.ri|c Rinald|
|00000830| 69 0d 2d 2d 20 20 20 20 | 20 20 50 72 6f 6d 70 74 |i.-- | Prompt|
|00000840| 6f 69 64 20 31 2e 31 20 | 20 20 a9 46 72 8e 64 8e |oid 1.1 | .Fr.d.|
|00000850| 72 69 63 20 52 69 6e 61 | 6c 64 69 0d 0d 2d 2d 20 |ric Rina|ldi..-- |
|00000860| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000870| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000880| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000890| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0d |********|*******.|
|000008a0| 0d 2d 2d 20 53 63 72 69 | 70 74 73 20 52 65 70 6f |.-- Scri|pts Repo|
|000008b0| 72 74 20 48 61 6e 64 6c | 65 72 73 3a 20 20 2d 2d |rt Handl|ers: --|
|000008c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008f0| 2d 0d 0d 6f 6e 20 64 6f | 4c 69 73 74 48 61 6e 64 |-..on do|ListHand|
|00000900| 6c 65 72 73 0d 67 6c 6f | 62 61 6c 20 4c 69 73 74 |lers.glo|bal List|
|00000910| 48 61 6e 64 6c 65 72 73 | 50 72 65 66 73 2c 4d 65 |Handlers|Prefs,Me|
|00000920| 73 73 48 61 6e 64 4c 69 | 73 74 2c 46 75 6e 63 74 |ssHandLi|st,Funct|
|00000930| 48 61 6e 64 4c 69 73 74 | 2c 47 6c 6f 62 61 6c 73 |HandList|,Globals|
|00000940| 4c 69 73 74 0d 67 6c 6f | 62 61 6c 20 53 63 72 69 |List.glo|bal Scri|
|00000950| 70 74 46 69 6e 64 53 74 | 72 69 6e 67 2c 53 63 72 |ptFindSt|ring,Scr|
|00000960| 69 70 74 53 65 61 72 63 | 68 50 72 65 66 73 0d 73 |iptSearc|hPrefs.s|
|00000970| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00000980| 63 68 0d 70 75 74 20 72 | 65 74 75 72 6e 20 69 6e |ch.put r|eturn in|
|00000990| 74 6f 20 4d 65 73 73 48 | 61 6e 64 4c 69 73 74 0d |to MessH|andList.|
|000009a0| 70 75 74 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |put retu|rn into |
|000009b0| 46 75 6e 63 74 48 61 6e | 64 4c 69 73 74 0d 70 75 |FunctHan|dList.pu|
|000009c0| 74 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 47 6c |t return| into Gl|
|000009d0| 6f 62 61 6c 73 4c 69 73 | 74 0d 70 75 74 20 69 74 |obalsLis|t.put it|
|000009e0| 65 6d 20 31 20 6f 66 20 | 4c 69 73 74 48 61 6e 64 |em 1 of |ListHand|
|000009f0| 6c 65 72 73 50 72 65 66 | 73 20 69 6e 74 6f 20 73 |lersPref|s into s|
|00000a00| 65 61 72 63 68 43 75 72 | 72 65 6e 74 0d 70 75 74 |earchCur|rent.put|
|00000a10| 20 69 74 65 6d 20 32 20 | 6f 66 20 4c 69 73 74 48 | item 2 |of ListH|
|00000a20| 61 6e 64 6c 65 72 73 50 | 72 65 66 73 20 69 6e 74 |andlersP|refs int|
|00000a30| 6f 20 6d 65 73 73 61 67 | 65 48 61 6e 64 6c 65 72 |o messag|eHandler|
|00000a40| 73 0d 70 75 74 20 69 74 | 65 6d 20 33 20 6f 66 20 |s.put it|em 3 of |
|00000a50| 4c 69 73 74 48 61 6e 64 | 6c 65 72 73 50 72 65 66 |ListHand|lersPref|
|00000a60| 73 20 69 6e 74 6f 20 66 | 75 6e 63 74 69 6f 6e 48 |s into f|unctionH|
|00000a70| 61 6e 64 6c 65 72 73 0d | 70 75 74 20 69 74 65 6d |andlers.|put item|
|00000a80| 20 34 20 6f 66 20 4c 69 | 73 74 48 61 6e 64 6c 65 | 4 of Li|stHandle|
|00000a90| 72 73 50 72 65 66 73 20 | 69 6e 74 6f 20 6c 69 73 |rsPrefs |into lis|
|00000aa0| 74 47 6c 6f 62 61 6c 73 | 0d 70 75 74 20 69 74 65 |tGlobals|.put ite|
|00000ab0| 6d 20 35 20 6f 66 20 4c | 69 73 74 48 61 6e 64 6c |m 5 of L|istHandl|
|00000ac0| 65 72 73 50 72 65 66 73 | 20 69 6e 74 6f 20 73 65 |ersPrefs| into se|
|00000ad0| 61 72 63 68 53 74 61 63 | 6b 0d 70 75 74 20 69 74 |archStac|k.put it|
|00000ae0| 65 6d 20 36 20 6f 66 20 | 4c 69 73 74 48 61 6e 64 |em 6 of |ListHand|
|00000af0| 6c 65 72 73 50 72 65 66 | 73 20 69 6e 74 6f 20 73 |lersPref|s into s|
|00000b00| 65 61 72 63 68 42 6b 67 | 6e 64 0d 70 75 74 20 69 |earchBkg|nd.put i|
|00000b10| 74 65 6d 20 37 20 6f 66 | 20 4c 69 73 74 48 61 6e |tem 7 of| ListHan|
|00000b20| 64 6c 65 72 73 50 72 65 | 66 73 20 69 6e 74 6f 20 |dlersPre|fs into |
|00000b30| 73 65 61 72 63 68 43 61 | 72 64 0d 70 75 74 20 69 |searchCa|rd.put i|
|00000b40| 74 65 6d 20 38 20 6f 66 | 20 4c 69 73 74 48 61 6e |tem 8 of| ListHan|
|00000b50| 64 6c 65 72 73 50 72 65 | 66 73 20 69 6e 74 6f 20 |dlersPre|fs into |
|00000b60| 73 65 61 72 63 68 42 67 | 42 75 74 74 6f 6e 0d 70 |searchBg|Button.p|
|00000b70| 75 74 20 69 74 65 6d 20 | 39 20 6f 66 20 4c 69 73 |ut item |9 of Lis|
|00000b80| 74 48 61 6e 64 6c 65 72 | 73 50 72 65 66 73 20 69 |tHandler|sPrefs i|
|00000b90| 6e 74 6f 20 73 65 61 72 | 63 68 43 64 42 75 74 74 |nto sear|chCdButt|
|00000ba0| 6f 6e 0d 70 75 74 20 69 | 74 65 6d 20 31 30 20 6f |on.put i|tem 10 o|
|00000bb0| 66 20 4c 69 73 74 48 61 | 6e 64 6c 65 72 73 50 72 |f ListHa|ndlersPr|
|00000bc0| 65 66 73 20 69 6e 74 6f | 20 73 65 61 72 63 68 42 |efs into| searchB|
|00000bd0| 67 46 69 65 6c 64 0d 70 | 75 74 20 69 74 65 6d 20 |gField.p|ut item |
|00000be0| 31 31 20 6f 66 20 4c 69 | 73 74 48 61 6e 64 6c 65 |11 of Li|stHandle|
|00000bf0| 72 73 50 72 65 66 73 20 | 69 6e 74 6f 20 73 65 61 |rsPrefs |into sea|
|00000c00| 72 63 68 43 64 46 69 65 | 6c 64 0d 69 66 20 43 6f |rchCdFie|ld.if Co|
|00000c10| 6d 6d 61 6e 64 50 65 72 | 69 6f 64 28 29 20 74 68 |mmandPer|iod() th|
|00000c20| 65 6e 20 61 62 6f 72 74 | 53 63 72 69 70 74 73 48 |en abort|ScriptsH|
|00000c30| 61 6e 64 6c 65 72 20 54 | 52 55 45 2c 54 52 55 45 |andler T|RUE,TRUE|
|00000c40| 2c 54 52 55 45 0d 0d 2d | 2d 20 73 65 61 72 63 68 |,TRUE..-|- search|
|00000c50| 20 74 68 65 20 73 74 61 | 63 6b 20 73 63 72 69 70 | the sta|ck scrip|
|00000c60| 74 0d 69 66 20 73 65 61 | 72 63 68 53 74 61 63 6b |t.if sea|rchStack|
|00000c70| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 72 65 20 69 | then.if| there i|
|00000c80| 73 20 6e 6f 74 20 61 20 | 77 69 6e 64 6f 77 20 22 |s not a |window "|
|00000c90| 50 72 6f 6d 70 74 6f 69 | 64 22 20 74 68 65 6e 20 |Promptoi|d" then |
|00000ca0| 63 65 6e 74 65 72 50 72 | 6f 6d 70 74 6f 69 64 20 |centerPr|omptoid |
|00000cb0| 22 73 65 61 72 63 68 69 | 6e 67 3a 20 20 73 74 61 |"searchi|ng: sta|
|00000cc0| 63 6b 20 73 63 72 69 70 | 74 22 0d 65 6c 73 65 20 |ck scrip|t".else |
|00000cd0| 73 65 74 20 74 68 65 20 | 74 65 78 74 20 6f 66 20 |set the |text of |
|00000ce0| 77 69 6e 64 6f 77 20 22 | 50 72 6f 6d 70 74 6f 69 |window "|Promptoi|
|00000cf0| 64 22 20 74 6f 20 22 73 | 65 61 72 63 68 69 6e 67 |d" to "s|earching|
|00000d00| 3a 20 20 73 74 61 63 6b | 20 73 63 72 69 70 74 22 |: stack| script"|
|00000d10| 0d 69 66 20 6d 65 73 73 | 61 67 65 48 61 6e 64 6c |.if mess|ageHandl|
|00000d20| 65 72 73 20 74 68 65 6e | 20 61 64 64 54 6f 4d 65 |ers then| addToMe|
|00000d30| 73 73 48 61 6e 64 4c 69 | 73 74 20 73 63 72 69 70 |ssHandLi|st scrip|
|00000d40| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 0d |t of thi|s stack.|
|00000d50| 69 66 20 66 75 6e 63 74 | 69 6f 6e 48 61 6e 64 6c |if funct|ionHandl|
|00000d60| 65 72 73 20 74 68 65 6e | 20 61 64 64 54 6f 46 75 |ers then| addToFu|
|00000d70| 6e 63 74 48 61 6e 64 4c | 69 73 74 20 73 63 72 69 |nctHandL|ist scri|
|00000d80| 70 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |pt of th|is stack|
|00000d90| 0d 69 66 20 6c 69 73 74 | 47 6c 6f 62 61 6c 73 20 |.if list|Globals |
|00000da0| 74 68 65 6e 20 61 64 64 | 54 6f 47 6c 6f 62 61 6c |then add|ToGlobal|
|00000db0| 73 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 69 73 |s script| of this|
|00000dc0| 20 73 74 61 63 6b 0d 65 | 6e 64 20 69 66 0d 0d 69 | stack.e|nd if..i|
|00000dd0| 66 20 73 65 61 72 63 68 | 42 6b 67 6e 64 20 6f 72 |f search|Bkgnd or|
|00000de0| 20 73 65 61 72 63 68 42 | 67 42 75 74 74 6f 6e 20 | searchB|gButton |
|00000df0| 6f 72 20 73 65 61 72 63 | 68 42 67 46 69 65 6c 64 |or searc|hBgField|
|00000e00| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 72 65 20 69 | then.if| there i|
|00000e10| 73 20 6e 6f 74 20 61 20 | 77 69 6e 64 6f 77 20 22 |s not a |window "|
|00000e20| 50 72 6f 6d 70 74 6f 69 | 64 22 20 74 68 65 6e 20 |Promptoi|d" then |
|00000e30| 63 65 6e 74 65 72 50 72 | 6f 6d 70 74 6f 69 64 20 |centerPr|omptoid |
|00000e40| 22 73 65 61 72 63 68 69 | 6e 67 3a 20 20 62 6b 67 |"searchi|ng: bkg|
|00000e50| 6e 64 20 6f 62 6a 65 63 | 74 20 73 63 72 69 70 74 |nd objec|t script|
|00000e60| 73 22 0d 65 6c 73 65 20 | 73 65 74 20 74 68 65 20 |s".else |set the |
|00000e70| 74 65 78 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |text of |window "|
|00000e80| 50 72 6f 6d 70 74 6f 69 | 64 22 20 74 6f 20 22 73 |Promptoi|d" to "s|
|00000e90| 65 61 72 63 68 69 6e 67 | 3a 20 20 62 6b 67 6e 64 |earching|: bkgnd|
|00000ea0| 20 6f 62 6a 65 63 74 20 | 73 63 72 69 70 74 73 22 | object |scripts"|
|00000eb0| 0d 65 6e 64 20 69 66 0d | 0d 2d 2d 20 73 65 61 72 |.end if.|.-- sear|
|00000ec0| 63 68 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |ch the b|ackgroun|
|00000ed0| 64 20 73 63 72 69 70 74 | 73 20 61 6e 64 20 6f 62 |d script|s and ob|
|00000ee0| 6a 65 63 74 73 20 6f 66 | 20 74 68 65 20 73 74 61 |jects of| the sta|
|00000ef0| 63 6b 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |ck.repea|t with c|
|00000f00| 75 72 42 67 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |urBg = 1| to the |
|00000f10| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 73 0d 69 66 |number o|f bgs.if|
|00000f20| 20 43 6f 6d 6d 61 6e 64 | 50 65 72 69 6f 64 28 29 | Command|Period()|
|00000f30| 20 74 68 65 6e 20 61 62 | 6f 72 74 53 63 72 69 70 | then ab|ortScrip|
|00000f40| 74 73 48 61 6e 64 6c 65 | 72 20 54 52 55 45 2c 54 |tsHandle|r TRUE,T|
|00000f50| 52 55 45 2c 54 52 55 45 | 0d 67 6f 20 74 6f 20 63 |RUE,TRUE|.go to c|
|00000f60| 64 20 31 20 6f 66 20 62 | 67 20 63 75 72 42 67 0d |d 1 of b|g curBg.|
|00000f70| 2d 2d 20 73 65 61 72 63 | 68 20 74 68 65 20 62 67 |-- searc|h the bg|
|00000f80| 20 73 63 72 69 70 74 0d | 69 66 20 73 65 61 72 63 | script.|if searc|
|00000f90| 68 42 6b 67 6e 64 20 74 | 68 65 6e 0d 69 66 20 6d |hBkgnd t|hen.if m|
|00000fa0| 65 73 73 61 67 65 48 61 | 6e 64 6c 65 72 73 20 74 |essageHa|ndlers t|
|00000fb0| 68 65 6e 20 61 64 64 54 | 6f 4d 65 73 73 48 61 6e |hen addT|oMessHan|
|00000fc0| 64 4c 69 73 74 20 73 63 | 72 69 70 74 20 6f 66 20 |dList sc|ript of |
|00000fd0| 74 68 69 73 20 62 6b 67 | 6e 64 0d 69 66 20 66 75 |this bkg|nd.if fu|
|00000fe0| 6e 63 74 69 6f 6e 48 61 | 6e 64 6c 65 72 73 20 74 |nctionHa|ndlers t|
|00000ff0| 68 65 6e 20 61 64 64 54 | 6f 46 75 6e 63 74 48 61 |hen addT|oFunctHa|
|00001000| 6e 64 4c 69 73 74 20 73 | 63 72 69 70 74 20 6f 66 |ndList s|cript of|
|00001010| 20 74 68 69 73 20 62 6b | 67 6e 64 0d 69 66 20 6c | this bk|gnd.if l|
|00001020| 69 73 74 47 6c 6f 62 61 | 6c 73 20 74 68 65 6e 20 |istGloba|ls then |
|00001030| 61 64 64 54 6f 47 6c 6f | 62 61 6c 73 20 73 63 72 |addToGlo|bals scr|
|00001040| 69 70 74 20 6f 66 20 74 | 68 69 73 20 62 6b 67 6e |ipt of t|his bkgn|
|00001050| 64 0d 65 6e 64 20 69 66 | 0d 2d 2d 20 73 65 61 72 |d.end if|.-- sear|
|00001060| 63 68 20 74 68 65 20 62 | 67 20 62 74 6e 20 73 63 |ch the b|g btn sc|
|00001070| 72 69 70 74 73 0d 69 66 | 20 73 65 61 72 63 68 42 |ripts.if| searchB|
|00001080| 67 42 75 74 74 6f 6e 20 | 74 68 65 6e 0d 72 65 70 |gButton |then.rep|
|00001090| 65 61 74 20 77 69 74 68 | 20 63 75 72 42 67 42 74 |eat with| curBgBt|
|000010a0| 6e 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |n = 1 to| the num|
|000010b0| 62 65 72 20 6f 66 20 62 | 67 20 62 74 6e 73 0d 69 |ber of b|g btns.i|
|000010c0| 66 20 43 6f 6d 6d 61 6e | 64 50 65 72 69 6f 64 28 |f Comman|dPeriod(|
|000010d0| 29 20 74 68 65 6e 20 61 | 62 6f 72 74 53 63 72 69 |) then a|bortScri|
|000010e0| 70 74 73 48 61 6e 64 6c | 65 72 20 54 52 55 45 2c |ptsHandl|er TRUE,|
|000010f0| 54 52 55 45 2c 54 52 55 | 45 0d 70 75 74 20 22 62 |TRUE,TRU|E.put "b|
|00001100| 67 20 62 74 6e 20 49 44 | 22 20 26 26 20 74 68 65 |g btn ID|" && the|
|00001110| 20 73 68 6f 72 74 20 49 | 44 20 6f 66 20 62 67 20 | short I|D of bg |
|00001120| 62 74 6e 20 63 75 72 42 | 67 42 74 6e 20 69 6e 74 |btn curB|gBtn int|
|00001130| 6f 20 74 68 65 4f 62 6a | 65 63 74 0d 69 66 20 6d |o theObj|ect.if m|
|00001140| 65 73 73 61 67 65 48 61 | 6e 64 6c 65 72 73 20 74 |essageHa|ndlers t|
|00001150| 68 65 6e 20 61 64 64 54 | 6f 4d 65 73 73 48 61 6e |hen addT|oMessHan|
|00001160| 64 4c 69 73 74 20 73 63 | 72 69 70 74 20 6f 66 20 |dList sc|ript of |
|00001170| 74 68 65 4f 62 6a 65 63 | 74 0d 69 66 20 66 75 6e |theObjec|t.if fun|
|00001180| 63 74 69 6f 6e 48 61 6e | 64 6c 65 72 73 20 74 68 |ctionHan|dlers th|
|00001190| 65 6e 20 61 64 64 54 6f | 46 75 6e 63 74 48 61 6e |en addTo|FunctHan|
|000011a0| 64 4c 69 73 74 20 73 63 | 72 69 70 74 20 6f 66 20 |dList sc|ript of |
|000011b0| 74 68 65 4f 62 6a 65 63 | 74 0d 69 66 20 6c 69 73 |theObjec|t.if lis|
|000011c0| 74 47 6c 6f 62 61 6c 73 | 20 74 68 65 6e 20 61 64 |tGlobals| then ad|
|000011d0| 64 54 6f 47 6c 6f 62 61 | 6c 73 20 73 63 72 69 70 |dToGloba|ls scrip|
|000011e0| 74 20 6f 66 20 74 68 65 | 4f 62 6a 65 63 74 0d 65 |t of the|Object.e|
|000011f0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|00001200| 0d 2d 2d 20 73 65 61 72 | 63 68 20 74 68 65 20 62 |.-- sear|ch the b|
|00001210| 67 20 66 69 65 6c 64 20 | 73 63 72 69 70 74 73 0d |g field |scripts.|
|00001220| 69 66 20 73 65 61 72 63 | 68 42 67 46 69 65 6c 64 |if searc|hBgField|
|00001230| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 | then.re|peat wit|
|00001240| 68 20 63 75 72 42 67 46 | 6c 64 20 3d 20 31 20 74 |h curBgF|ld = 1 t|
|00001250| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00001260| 62 67 20 66 69 65 6c 64 | 73 0d 69 66 20 43 6f 6d |bg field|s.if Com|
|00001270| 6d 61 6e 64 50 65 72 69 | 6f 64 28 29 20 74 68 65 |mandPeri|od() the|
|00001280| 6e 20 61 62 6f 72 74 53 | 63 72 69 70 74 73 48 61 |n abortS|criptsHa|
|00001290| 6e 64 6c 65 72 20 54 52 | 55 45 2c 54 52 55 45 2c |ndler TR|UE,TRUE,|
|000012a0| 54 52 55 45 0d 70 75 74 | 20 22 62 67 20 66 6c 64 |TRUE.put| "bg fld|
|000012b0| 20 49 44 22 20 26 26 20 | 74 68 65 20 73 68 6f 72 | ID" && |the shor|
|000012c0| 74 20 49 44 20 6f 66 20 | 62 67 20 66 6c 64 20 63 |t ID of |bg fld c|
|000012d0| 75 72 42 67 46 6c 64 20 | 69 6e 74 6f 20 74 68 65 |urBgFld |into the|
|000012e0| 4f 62 6a 65 63 74 0d 69 | 66 20 6d 65 73 73 61 67 |Object.i|f messag|
|000012f0| 65 48 61 6e 64 6c 65 72 | 73 20 74 68 65 6e 20 61 |eHandler|s then a|
|00001300| 64 64 54 6f 4d 65 73 73 | 48 61 6e 64 4c 69 73 74 |ddToMess|HandList|
|00001310| 20 73 63 72 69 70 74 20 | 6f 66 20 74 68 65 4f 62 | script |of theOb|
|00001320| 6a 65 63 74 0d 69 66 20 | 66 75 6e 63 74 69 6f 6e |ject.if |function|
|00001330| 48 61 6e 64 6c 65 72 73 | 20 74 68 65 6e 20 61 64 |Handlers| then ad|
|00001340| 64 54 6f 46 75 6e 63 74 | 48 61 6e 64 4c 69 73 74 |dToFunct|HandList|
|00001350| 20 73 63 72 69 70 74 20 | 6f 66 20 74 68 65 4f 62 | script |of theOb|
|00001360| 6a 65 63 74 0d 69 66 20 | 6c 69 73 74 47 6c 6f 62 |ject.if |listGlob|
|00001370| 61 6c 73 20 74 68 65 6e | 20 61 64 64 54 6f 47 6c |als then| addToGl|
|00001380| 6f 62 61 6c 73 20 73 63 | 72 69 70 74 20 6f 66 20 |obals sc|ript of |
|00001390| 74 68 65 4f 62 6a 65 63 | 74 0d 65 6e 64 20 72 65 |theObjec|t.end re|
|000013a0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 73 |peat.end| if.if s|
|000013b0| 65 61 72 63 68 43 75 72 | 72 65 6e 74 20 74 68 65 |earchCur|rent the|
|000013c0| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n exit r|epeat.en|
|000013d0| 64 20 72 65 70 65 61 74 | 0d 0d 69 66 20 73 65 61 |d repeat|..if sea|
|000013e0| 72 63 68 43 61 72 64 20 | 6f 72 20 73 65 61 72 63 |rchCard |or searc|
|000013f0| 68 43 64 42 75 74 74 6f | 6e 20 6f 72 20 73 65 61 |hCdButto|n or sea|
|00001400| 72 63 68 43 64 46 69 65 | 6c 64 20 74 68 65 6e 0d |rchCdFie|ld then.|
|00001410| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 74 20 |if there| is not |
|00001420| 61 20 77 69 6e 64 6f 77 | 20 22 50 72 6f 6d 70 74 |a window| "Prompt|
|00001430| 6f 69 64 22 20 74 68 65 | 6e 20 63 65 6e 74 65 72 |oid" the|n center|
|00001440| 50 72 6f 6d 70 74 6f 69 | 64 20 22 73 65 61 72 63 |Promptoi|d "searc|
|00001450| 68 69 6e 67 3a 20 20 63 | 61 72 64 20 6f 62 6a 65 |hing: c|ard obje|
|00001460| 63 74 20 73 63 72 69 70 | 74 73 22 0d 65 6c 73 65 |ct scrip|ts".else|
|00001470| 20 73 65 74 20 74 68 65 | 20 74 65 78 74 20 6f 66 | set the| text of|
|00001480| 20 77 69 6e 64 6f 77 20 | 22 50 72 6f 6d 70 74 6f | window |"Prompto|
|00001490| 69 64 22 20 74 6f 20 22 | 73 65 61 72 63 68 69 6e |id" to "|searchin|
|000014a0| 67 3a 20 20 63 61 72 64 | 20 6f 62 6a 65 63 74 20 |g: card| object |
|000014b0| 73 63 72 69 70 74 73 22 | 0d 65 6e 64 20 69 66 0d |scripts"|.end if.|
|000014c0| 0d 2d 2d 20 73 65 61 72 | 63 68 20 74 68 65 20 63 |.-- sear|ch the c|
|000014d0| 61 72 64 20 73 63 72 69 | 70 74 73 20 61 6e 64 20 |ard scri|pts and |
|000014e0| 6f 62 6a 65 63 74 73 20 | 6f 66 20 74 68 65 20 73 |objects |of the s|
|000014f0| 74 61 63 6b 0d 72 65 70 | 65 61 74 20 77 69 74 68 |tack.rep|eat with|
|00001500| 20 63 75 72 43 64 20 3d | 20 31 20 74 6f 20 74 68 | curCd =| 1 to th|
|00001510| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 0d |e number| of cds.|
|00001520| 69 66 20 43 6f 6d 6d 61 | 6e 64 50 65 72 69 6f 64 |if Comma|ndPeriod|
|00001530| 28 29 20 74 68 65 6e 20 | 61 62 6f 72 74 53 63 72 |() then |abortScr|
|00001540| 69 70 74 73 48 61 6e 64 | 6c 65 72 20 54 52 55 45 |iptsHand|ler TRUE|
|00001550| 2c 54 52 55 45 2c 54 52 | 55 45 0d 67 6f 20 63 61 |,TRUE,TR|UE.go ca|
|00001560| 72 64 20 63 75 72 43 64 | 0d 2d 2d 20 73 65 61 72 |rd curCd|.-- sear|
|00001570| 63 68 20 74 68 65 20 63 | 61 72 64 20 73 63 72 69 |ch the c|ard scri|
|00001580| 70 74 0d 69 66 20 73 65 | 61 72 63 68 43 61 72 64 |pt.if se|archCard|
|00001590| 20 74 68 65 6e 0d 69 66 | 20 6d 65 73 73 61 67 65 | then.if| message|
|000015a0| 48 61 6e 64 6c 65 72 73 | 20 74 68 65 6e 20 61 64 |Handlers| then ad|
|000015b0| 64 54 6f 4d 65 73 73 48 | 61 6e 64 4c 69 73 74 20 |dToMessH|andList |
|000015c0| 73 63 72 69 70 74 20 6f | 66 20 74 68 69 73 20 63 |script o|f this c|
|000015d0| 61 72 64 0d 69 66 20 66 | 75 6e 63 74 69 6f 6e 48 |ard.if f|unctionH|
|000015e0| 61 6e 64 6c 65 72 73 20 | 74 68 65 6e 20 61 64 64 |andlers |then add|
|000015f0| 54 6f 46 75 6e 63 74 48 | 61 6e 64 4c 69 73 74 20 |ToFunctH|andList |
|00001600| 73 63 72 69 70 74 20 6f | 66 20 74 68 69 73 20 63 |script o|f this c|
|00001610| 61 72 64 0d 69 66 20 6c | 69 73 74 47 6c 6f 62 61 |ard.if l|istGloba|
|00001620| 6c 73 20 74 68 65 6e 20 | 61 64 64 54 6f 47 6c 6f |ls then |addToGlo|
|00001630| 62 61 6c 73 20 73 63 72 | 69 70 74 20 6f 66 20 74 |bals scr|ipt of t|
|00001640| 68 69 73 20 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |his card|.end if.|
|00001650| 69 66 20 73 65 61 72 63 | 68 43 64 42 75 74 74 6f |if searc|hCdButto|
|00001660| 6e 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |n then.r|epeat wi|
|00001670| 74 68 20 63 75 72 43 64 | 42 74 6e 20 3d 20 31 20 |th curCd|Btn = 1 |
|00001680| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00001690| 20 63 61 72 64 20 62 74 | 6e 73 0d 69 66 20 43 6f | card bt|ns.if Co|
|000016a0| 6d 6d 61 6e 64 50 65 72 | 69 6f 64 28 29 20 74 68 |mmandPer|iod() th|
|000016b0| 65 6e 20 61 62 6f 72 74 | 53 63 72 69 70 74 73 48 |en abort|ScriptsH|
|000016c0| 61 6e 64 6c 65 72 20 54 | 52 55 45 2c 54 52 55 45 |andler T|RUE,TRUE|
|000016d0| 2c 54 52 55 45 0d 70 75 | 74 20 22 63 64 20 62 74 |,TRUE.pu|t "cd bt|
|000016e0| 6e 20 49 44 22 20 26 26 | 20 74 68 65 20 73 68 6f |n ID" &&| the sho|
|000016f0| 72 74 20 49 44 20 6f 66 | 20 63 64 20 62 74 6e 20 |rt ID of| cd btn |
|00001700| 63 75 72 43 64 42 74 6e | 20 69 6e 74 6f 20 74 68 |curCdBtn| into th|
|00001710| 65 4f 62 6a 65 63 74 0d | 69 66 20 6d 65 73 73 61 |eObject.|if messa|
|00001720| 67 65 48 61 6e 64 6c 65 | 72 73 20 74 68 65 6e 20 |geHandle|rs then |
|00001730| 61 64 64 54 6f 4d 65 73 | 73 48 61 6e 64 4c 69 73 |addToMes|sHandLis|
|00001740| 74 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 65 4f |t script| of theO|
|00001750| 62 6a 65 63 74 0d 69 66 | 20 66 75 6e 63 74 69 6f |bject.if| functio|
|00001760| 6e 48 61 6e 64 6c 65 72 | 73 20 74 68 65 6e 20 61 |nHandler|s then a|
|00001770| 64 64 54 6f 46 75 6e 63 | 74 48 61 6e 64 4c 69 73 |ddToFunc|tHandLis|
|00001780| 74 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 65 4f |t script| of theO|
|00001790| 62 6a 65 63 74 0d 69 66 | 20 6c 69 73 74 47 6c 6f |bject.if| listGlo|
|000017a0| 62 61 6c 73 20 74 68 65 | 6e 20 61 64 64 54 6f 47 |bals the|n addToG|
|000017b0| 6c 6f 62 61 6c 73 20 73 | 63 72 69 70 74 20 6f 66 |lobals s|cript of|
|000017c0| 20 74 68 65 4f 62 6a 65 | 63 74 0d 65 6e 64 20 72 | theObje|ct.end r|
|000017d0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |epeat.en|d if.if |
|000017e0| 73 65 61 72 63 68 43 64 | 46 69 65 6c 64 20 74 68 |searchCd|Field th|
|000017f0| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |en.repea|t with c|
|00001800| 75 72 43 64 46 6c 64 20 | 3d 20 31 20 74 6f 20 74 |urCdFld |= 1 to t|
|00001810| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |he numbe|r of car|
|00001820| 64 20 66 69 65 6c 64 73 | 0d 69 66 20 43 6f 6d 6d |d fields|.if Comm|
|00001830| 61 6e 64 50 65 72 69 6f | 64 28 29 20 74 68 65 6e |andPerio|d() then|
|00001840| 20 61 62 6f 72 74 53 63 | 72 69 70 74 73 48 61 6e | abortSc|riptsHan|
|00001850| 64 6c 65 72 20 54 52 55 | 45 2c 54 52 55 45 2c 54 |dler TRU|E,TRUE,T|
|00001860| 52 55 45 0d 70 75 74 20 | 22 63 64 20 66 6c 64 20 |RUE.put |"cd fld |
|00001870| 49 44 22 20 26 26 20 74 | 68 65 20 73 68 6f 72 74 |ID" && t|he short|
|00001880| 20 49 44 20 6f 66 20 63 | 64 20 66 6c 64 20 63 75 | ID of c|d fld cu|
|00001890| 72 43 64 46 6c 64 20 69 | 6e 74 6f 20 74 68 65 4f |rCdFld i|nto theO|
|000018a0| 62 6a 65 63 74 0d 69 66 | 20 6d 65 73 73 61 67 65 |bject.if| message|
|000018b0| 48 61 6e 64 6c 65 72 73 | 20 74 68 65 6e 20 61 64 |Handlers| then ad|
|000018c0| 64 54 6f 4d 65 73 73 48 | 61 6e 64 4c 69 73 74 20 |dToMessH|andList |
|000018d0| 73 63 72 69 70 74 20 6f | 66 20 74 68 65 4f 62 6a |script o|f theObj|
|000018e0| 65 63 74 0d 69 66 20 66 | 75 6e 63 74 69 6f 6e 48 |ect.if f|unctionH|
|000018f0| 61 6e 64 6c 65 72 73 20 | 74 68 65 6e 20 61 64 64 |andlers |then add|
|00001900| 54 6f 46 75 6e 63 74 48 | 61 6e 64 4c 69 73 74 20 |ToFunctH|andList |
|00001910| 73 63 72 69 70 74 20 6f | 66 20 74 68 65 4f 62 6a |script o|f theObj|
|00001920| 65 63 74 0d 69 66 20 6c | 69 73 74 47 6c 6f 62 61 |ect.if l|istGloba|
|00001930| 6c 73 20 74 68 65 6e 20 | 61 64 64 54 6f 47 6c 6f |ls then |addToGlo|
|00001940| 62 61 6c 73 20 73 63 72 | 69 70 74 20 6f 66 20 74 |bals scr|ipt of t|
|00001950| 68 65 4f 62 6a 65 63 74 | 0d 65 6e 64 20 72 65 70 |heObject|.end rep|
|00001960| 65 61 74 0d 65 6e 64 20 | 69 66 0d 69 66 20 73 65 |eat.end |if.if se|
|00001970| 61 72 63 68 43 75 72 72 | 65 6e 74 20 74 68 65 6e |archCurr|ent then|
|00001980| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 | exit re|peat.end|
|00001990| 20 72 65 70 65 61 74 0d | 0d 69 66 20 74 68 65 72 | repeat.|.if ther|
|000019a0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 50 |e is a w|indow "P|
|000019b0| 72 6f 6d 70 74 6f 69 64 | 22 20 74 68 65 6e 20 63 |romptoid|" then c|
|000019c0| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 22 50 72 6f |lose win|dow "Pro|
|000019d0| 6d 70 74 6f 69 64 22 0d | 70 75 74 20 30 20 69 6e |mptoid".|put 0 in|
|000019e0| 74 6f 20 64 65 66 61 75 | 6c 74 4c 69 6e 65 0d 70 |to defau|ltLine.p|
|000019f0| 75 74 20 22 31 2c 32 2c | 35 2c 36 2c 37 22 20 69 |ut "1,2,|5,6,7" i|
|00001a00| 6e 74 6f 20 74 68 65 42 | 75 74 74 6f 6e 73 0d 67 |nto theB|uttons.g|
|00001a10| 65 74 20 63 74 72 44 67 | 4c 6f 63 20 28 33 35 33 |et ctrDg|Loc (353|
|00001a20| 2c 31 38 30 29 0d 70 75 | 74 20 69 74 65 6d 20 31 |,180).pu|t item 1|
|00001a30| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 64 67 4c 65 | of it i|nto dgLe|
|00001a40| 66 74 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ft.put i|tem 2 of|
|00001a50| 20 69 74 20 69 6e 74 6f | 20 64 67 54 6f 70 0d 70 | it into| dgTop.p|
|00001a60| 75 74 20 22 53 74 61 63 | 6b 3a 20 20 20 22 20 26 |ut "Stac|k: " &|
|00001a70| 20 63 75 74 53 74 72 69 | 6e 67 28 74 68 65 20 73 | cutStri|ng(the s|
|00001a80| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00001a90| 73 20 73 74 61 63 6b 2c | 33 35 29 20 69 6e 74 6f |s stack,|35) into|
|00001aa0| 20 70 72 6f 6d 70 74 0d | 72 65 70 65 61 74 0d 70 | prompt.|repeat.p|
|00001ab0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00001ac0| 65 4c 69 73 74 0d 69 66 | 20 63 68 61 72 20 31 20 |eList.if| char 1 |
|00001ad0| 6f 66 20 4d 65 73 73 48 | 61 6e 64 4c 69 73 74 20 |of MessH|andList |
|00001ae0| 69 73 20 72 65 74 75 72 | 6e 20 74 68 65 6e 20 64 |is retur|n then d|
|00001af0| 65 6c 65 74 65 20 63 68 | 61 72 20 31 20 6f 66 20 |elete ch|ar 1 of |
|00001b00| 4d 65 73 73 48 61 6e 64 | 4c 69 73 74 0d 69 66 20 |MessHand|List.if |
|00001b10| 6d 65 73 73 61 67 65 48 | 61 6e 64 6c 65 72 73 20 |messageH|andlers |
|00001b20| 74 68 65 6e 0d 70 75 74 | 20 22 2d 2d 2d 2d 2d 2d |then.put| "------|
|00001b30| 20 4d 45 53 53 41 47 45 | 20 48 41 4e 44 4c 45 52 | MESSAGE| HANDLER|
|00001b40| 53 20 2d 2d 2d 2d 2d 2d | 2d 22 20 26 20 72 65 74 |S ------|-" & ret|
|00001b50| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 4c 69 73 |urn afte|r theLis|
|00001b60| 74 0d 69 66 20 4d 65 73 | 73 48 61 6e 64 4c 69 73 |t.if Mes|sHandLis|
|00001b70| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00001b80| 68 65 6e 0d 73 6f 72 74 | 20 4d 65 73 73 48 61 6e |hen.sort| MessHan|
|00001b90| 64 4c 69 73 74 0d 70 75 | 74 20 4d 65 73 73 48 61 |dList.pu|t MessHa|
|00001ba0| 6e 64 4c 69 73 74 20 61 | 66 74 65 72 20 74 68 65 |ndList a|fter the|
|00001bb0| 4c 69 73 74 0d 65 6c 73 | 65 20 70 75 74 20 22 2d |List.els|e put "-|
|00001bc0| 2d 6e 6f 6e 65 20 66 6f | 75 6e 64 2d 2d 22 20 26 |-none fo|und--" &|
|00001bd0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|00001be0| 65 4c 69 73 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |eList.en|d if.if |
|00001bf0| 66 75 6e 63 74 69 6f 6e | 48 61 6e 64 6c 65 72 73 |function|Handlers|
|00001c00| 20 74 68 65 6e 0d 69 66 | 20 63 68 61 72 20 31 20 | then.if| char 1 |
|00001c10| 6f 66 20 46 75 6e 63 74 | 48 61 6e 64 4c 69 73 74 |of Funct|HandList|
|00001c20| 20 69 73 20 72 65 74 75 | 72 6e 20 74 68 65 6e 20 | is retu|rn then |
|00001c30| 64 65 6c 65 74 65 20 63 | 68 61 72 20 31 20 6f 66 |delete c|har 1 of|
|00001c40| 20 46 75 6e 63 74 48 61 | 6e 64 4c 69 73 74 0d 70 | FunctHa|ndList.p|
|00001c50| 75 74 20 22 2d 2d 2d 2d | 2d 2d 20 46 55 4e 43 54 |ut "----|-- FUNCT|
|00001c60| 49 4f 4e 20 48 41 4e 44 | 4c 45 52 53 20 2d 2d 2d |ION HAND|LERS ---|
|00001c70| 2d 2d 2d 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |---" & r|eturn af|
|00001c80| 74 65 72 20 74 68 65 4c | 69 73 74 0d 69 66 20 46 |ter theL|ist.if F|
|00001c90| 75 6e 63 74 48 61 6e 64 | 4c 69 73 74 20 69 73 20 |unctHand|List is |
|00001ca0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 73 |not empt|y then.s|
|00001cb0| 6f 72 74 20 46 75 6e 63 | 74 48 61 6e 64 4c 69 73 |ort Func|tHandLis|
|00001cc0| 74 0d 70 75 74 20 46 75 | 6e 63 74 48 61 6e 64 4c |t.put Fu|nctHandL|
|00001cd0| 69 73 74 20 61 66 74 65 | 72 20 74 68 65 4c 69 73 |ist afte|r theLis|
|00001ce0| 74 0d 65 6c 73 65 20 70 | 75 74 20 22 2d 2d 6e 6f |t.else p|ut "--no|
|00001cf0| 6e 65 20 66 6f 75 6e 64 | 2d 2d 22 20 26 20 72 65 |ne found|--" & re|
|00001d00| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 4c 69 |turn aft|er theLi|
|00001d10| 73 74 0d 65 6e 64 20 69 | 66 0d 69 66 20 6c 69 73 |st.end i|f.if lis|
|00001d20| 74 47 6c 6f 62 61 6c 73 | 20 74 68 65 6e 0d 69 66 |tGlobals| then.if|
|00001d30| 20 63 68 61 72 20 31 20 | 6f 66 20 47 6c 6f 62 61 | char 1 |of Globa|
|00001d40| 6c 73 4c 69 73 74 20 69 | 73 20 72 65 74 75 72 6e |lsList i|s return|
|00001d50| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 63 68 61 | then de|lete cha|
|00001d60| 72 20 31 20 6f 66 20 47 | 6c 6f 62 61 6c 73 4c 69 |r 1 of G|lobalsLi|
|00001d70| 73 74 0d 70 75 74 20 22 | 2d 2d 2d 2d 2d 2d 2d 2d |st.put "|--------|
|00001d80| 2d 2d 2d 20 47 4c 4f 42 | 41 4c 53 20 2d 2d 2d 2d |--- GLOB|ALS ----|
|00001d90| 2d 2d 2d 2d 2d 2d 2d 22 | 20 26 20 72 65 74 75 72 |-------"| & retur|
|00001da0| 6e 20 61 66 74 65 72 20 | 74 68 65 4c 69 73 74 0d |n after |theList.|
|00001db0| 69 66 20 47 6c 6f 62 61 | 6c 73 4c 69 73 74 20 69 |if Globa|lsList i|
|00001dc0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00001dd0| 0d 73 6f 72 74 20 47 6c | 6f 62 61 6c 73 4c 69 73 |.sort Gl|obalsLis|
|00001de0| 74 0d 70 75 74 20 47 6c | 6f 62 61 6c 73 4c 69 73 |t.put Gl|obalsLis|
|00001df0| 74 20 61 66 74 65 72 20 | 74 68 65 4c 69 73 74 0d |t after |theList.|
|00001e00| 65 6c 73 65 20 70 75 74 | 20 22 2d 2d 6e 6f 6e 65 |else put| "--none|
|00001e10| 20 66 6f 75 6e 64 2d 2d | 22 20 26 20 72 65 74 75 | found--|" & retu|
|00001e20| 72 6e 20 61 66 74 65 72 | 20 74 68 65 4c 69 73 74 |rn after| theList|
|00001e30| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 61 73 74 20 |.end if.|if last |
|00001e40| 63 68 61 72 20 6f 66 20 | 74 68 65 4c 69 73 74 20 |char of |theList |
|00001e50| 69 73 20 72 65 74 75 72 | 6e 20 74 68 65 6e 20 64 |is retur|n then d|
|00001e60| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 61 |elete la|st chara|
|00001e70| 63 74 65 72 20 6f 66 20 | 74 68 65 4c 69 73 74 0d |cter of |theList.|
|00001e80| 53 68 6f 77 44 69 61 6c | 6f 67 20 37 2c 34 36 30 |ShowDial|og 7,460|
|00001e90| 38 2c 70 72 6f 6d 70 74 | 2c 6d 6f 6e 61 63 6f 2c |8,prompt|,monaco,|
|00001ea0| 39 2c 74 68 65 4c 69 73 | 74 2c 64 65 66 61 75 6c |9,theLis|t,defaul|
|00001eb0| 74 4c 69 6e 65 2c 22 6f | 6e 65 22 2c 64 67 54 6f |tLine,"o|ne",dgTo|
|00001ec0| 70 2c 64 67 4c 65 66 74 | 0d 67 65 74 20 74 68 65 |p,dgLeft|.get the|
|00001ed0| 20 72 65 73 75 6c 74 0d | 73 65 74 20 63 75 72 73 | result.|set curs|
|00001ee0| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|00001ef0| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 69 6e 74 |line 1 o|f it int|
|00001f00| 6f 20 74 68 65 43 68 6f | 69 63 65 0d 69 66 20 74 |o theCho|ice.if t|
|00001f10| 68 65 43 68 6f 69 63 65 | 20 69 73 20 6e 6f 74 20 |heChoice| is not |
|00001f20| 69 6e 20 74 68 65 42 75 | 74 74 6f 6e 73 20 74 68 |in theBu|ttons th|
|00001f30| 65 6e 0d 61 6e 73 77 65 | 72 20 22 45 72 72 6f 72 |en.answe|r "Error|
|00001f40| 3a 22 20 26 26 20 69 74 | 0d 65 78 69 74 20 64 6f |:" && it|.exit do|
|00001f50| 6c 69 73 74 48 61 6e 64 | 6c 65 72 73 0d 65 6e 64 |listHand|lers.end|
|00001f60| 20 69 66 0d 0d 69 66 20 | 28 74 68 65 43 68 6f 69 | if..if |(theChoi|
|00001f70| 63 65 20 69 73 20 22 31 | 22 29 20 6f 72 20 28 74 |ce is "1|") or (t|
|00001f80| 68 65 43 68 6f 69 63 65 | 20 69 73 20 22 32 22 29 |heChoice| is "2")|
|00001f90| 20 74 68 65 6e 20 2d 2d | 20 22 43 61 6e 63 65 6c | then --| "Cancel|
|00001fa0| 22 20 6f 72 20 22 44 6f | 6e 65 22 0d 65 78 69 74 |" or "Do|ne".exit|
|00001fb0| 20 64 6f 6c 69 73 74 48 | 61 6e 64 6c 65 72 73 0d | dolistH|andlers.|
|00001fc0| 0d 65 6c 73 65 20 69 66 | 20 28 74 68 65 43 68 6f |.else if| (theCho|
|00001fd0| 69 63 65 20 69 73 20 22 | 36 22 29 20 6f 72 20 28 |ice is "|6") or (|
|00001fe0| 74 68 65 43 68 6f 69 63 | 65 20 69 73 20 22 35 22 |theChoic|e is "5"|
|00001ff0| 29 20 74 68 65 6e 20 2d | 2d 20 22 50 72 69 6e 74 |) then -|- "Print|
|00002000| 2e 2e 2e 22 20 6f 72 20 | 22 53 61 76 65 2e 2e 2e |..." or |"Save...|
|00002010| 22 0d 67 6c 6f 62 61 6c | 20 52 65 70 6f 72 74 54 |".global| ReportT|
|00002020| 65 78 74 46 6f 6e 74 2c | 52 65 70 6f 72 74 54 65 |extFont,|ReportTe|
|00002030| 78 74 53 69 7a 65 0d 70 | 75 74 20 30 20 69 6e 74 |xtSize.p|ut 0 int|
|00002040| 6f 20 64 65 66 61 75 6c | 74 4c 69 6e 65 0d 69 66 |o defaul|tLine.if|
|00002050| 20 74 68 65 43 68 6f 69 | 63 65 20 69 73 20 22 35 | theChoi|ce is "5|
|00002060| 22 20 74 68 65 6e 20 2d | 2d 20 22 53 61 76 65 2e |" then -|- "Save.|
|00002070| 2e 2e 22 0d 61 73 6b 20 | 66 69 6c 65 20 22 53 61 |..".ask |file "Sa|
|00002080| 76 65 20 72 65 70 6f 72 | 74 20 74 6f 20 64 69 73 |ve repor|t to dis|
|00002090| 6b 20 61 73 3a 22 20 77 | 69 74 68 20 74 68 65 20 |k as:" w|ith the |
|000020a0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|000020b0| 69 73 20 73 74 61 63 6b | 20 26 26 20 22 53 63 72 |is stack| && "Scr|
|000020c0| 69 70 74 73 20 52 65 70 | 6f 72 74 22 0d 73 65 74 |ipts Rep|ort".set|
|000020d0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000020e0| 0d 69 66 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 |.if it i|s empty |
|000020f0| 74 68 65 6e 0d 6e 65 78 | 74 20 72 65 70 65 61 74 |then.nex|t repeat|
|00002100| 0d 65 6c 73 65 0d 70 75 | 74 20 69 74 20 69 6e 74 |.else.pu|t it int|
|00002110| 6f 20 64 65 73 74 46 69 | 6c 65 0d 70 75 74 20 22 |o destFi|le.put "|
|00002120| 50 61 72 61 67 72 61 70 | 68 22 20 69 6e 74 6f 20 |Paragrap|h" into |
|00002130| 74 68 65 46 6f 72 6d 61 | 74 0d 70 75 74 20 65 6d |theForma|t.put em|
|00002140| 70 74 79 20 69 6e 74 6f | 20 74 69 74 6c 65 4e 6f |pty into| titleNo|
|00002150| 74 65 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 70 |te.end i|f.else.p|
|00002160| 75 74 20 22 53 63 72 69 | 70 74 73 20 52 65 70 6f |ut "Scri|pts Repo|
|00002170| 72 74 2e 2e 2e 22 20 69 | 6e 74 6f 20 70 72 6f 6d |rt..." i|nto prom|
|00002180| 70 74 31 0d 70 75 74 20 | 22 46 6f 6e 74 3a 20 20 |pt1.put |"Font: |
|00002190| 20 22 20 26 20 52 65 70 | 6f 72 74 54 65 78 74 46 | " & Rep|ortTextF|
|000021a0| 6f 6e 74 20 26 20 22 2c | 22 20 26 20 52 65 70 6f |ont & ",|" & Repo|
|000021b0| 72 74 54 65 78 74 53 69 | 7a 65 20 69 6e 74 6f 20 |rtTextSi|ze into |
|000021c0| 70 72 6f 6d 70 74 32 0d | 70 75 74 20 22 54 52 55 |prompt2.|put "TRU|
|000021d0| 45 2c 46 41 4c 53 45 22 | 20 69 6e 74 6f 20 63 62 |E,FALSE"| into cb|
|000021e0| 53 65 74 74 69 6e 67 73 | 0d 67 65 74 20 63 74 72 |Settings|.get ctr|
|000021f0| 44 67 4c 6f 63 20 28 33 | 31 38 2c 32 30 30 29 0d |DgLoc (3|18,200).|
|00002200| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 69 74 |put item| 1 of it|
|00002210| 20 69 6e 74 6f 20 64 67 | 4c 65 66 74 33 0d 70 75 | into dg|Left3.pu|
|00002220| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 69 74 20 69 |t item 2| of it i|
|00002230| 6e 74 6f 20 64 67 54 6f | 70 33 0d 73 68 6f 77 44 |nto dgTo|p3.showD|
|00002240| 69 61 6c 6f 67 20 32 2c | 34 30 30 36 2c 70 72 6f |ialog 2,|4006,pro|
|00002250| 6d 70 74 31 2c 70 72 6f | 6d 70 74 32 2c 22 22 2c |mpt1,pro|mpt2,"",|
|00002260| 63 62 53 65 74 74 69 6e | 67 73 2c 64 67 54 6f 70 |cbSettin|gs,dgTop|
|00002270| 33 2c 64 67 4c 65 66 74 | 33 0d 67 65 74 20 74 68 |3,dgLeft|3.get th|
|00002280| 65 20 72 65 73 75 6c 74 | 0d 69 66 20 69 74 20 69 |e result|.if it i|
|00002290| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 74 |s empty |then.set|
|000022a0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000022b0| 0d 6e 65 78 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.next re|peat.end|
|000022c0| 20 69 66 0d 69 66 20 69 | 74 65 6d 20 31 20 6f 66 | if.if i|tem 1 of|
|000022d0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 69 73 | line 1 |of it is|
|000022e0| 20 54 52 55 45 20 74 68 | 65 6e 20 70 75 74 20 22 | TRUE th|en put "|
|000022f0| 50 61 72 61 67 72 61 70 | 68 22 20 69 6e 74 6f 20 |Paragrap|h" into |
|00002300| 74 68 65 46 6f 72 6d 61 | 74 0d 65 6c 73 65 20 70 |theForma|t.else p|
|00002310| 75 74 20 22 4c 69 73 74 | 22 20 69 6e 74 6f 20 74 |ut "List|" into t|
|00002320| 68 65 46 6f 72 6d 61 74 | 0d 69 66 20 69 74 65 6d |heFormat|.if item|
|00002330| 20 32 20 6f 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 | 2 of li|ne 1 of |
|00002340| 69 74 20 69 73 20 54 52 | 55 45 20 74 68 65 6e 20 |it is TR|UE then |
|00002350| 63 68 61 6e 67 65 52 65 | 70 6f 72 74 46 6f 6e 74 |changeRe|portFont|
|00002360| 0d 70 75 74 20 6c 69 6e | 65 20 32 20 6f 66 20 69 |.put lin|e 2 of i|
|00002370| 74 20 69 6e 74 6f 20 74 | 69 74 6c 65 4e 6f 74 65 |t into t|itleNote|
|00002380| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 63 75 72 73 |.end if.|set curs|
|00002390| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 22 |or to bu|sy.put "|
|000023a0| 44 61 74 65 3a 20 20 20 | 22 20 26 20 74 68 65 20 |Date: |" & the |
|000023b0| 73 68 6f 72 74 20 64 61 | 74 65 20 26 20 72 65 74 |short da|te & ret|
|000023c0| 75 72 6e 20 69 6e 74 6f | 20 74 68 65 52 65 70 6f |urn into| theRepo|
|000023d0| 72 74 0d 70 75 74 20 22 | 53 74 61 63 6b 3a 20 20 |rt.put "|Stack: |
|000023e0| 20 22 20 26 20 74 68 65 | 20 73 68 6f 72 74 20 6e | " & the| short n|
|000023f0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00002400| 6b 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |k & retu|rn after|
|00002410| 20 74 68 65 52 65 70 6f | 72 74 0d 69 66 20 74 69 | theRepo|rt.if ti|
|00002420| 74 6c 65 4e 6f 74 65 20 | 69 73 20 6e 6f 74 20 65 |tleNote |is not e|
|00002430| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 74 69 |mpty the|n put ti|
|00002440| 74 6c 65 4e 6f 74 65 20 | 26 20 72 65 74 75 72 6e |tleNote |& return|
|00002450| 20 61 66 74 65 72 20 74 | 68 65 52 65 70 6f 72 74 | after t|heReport|
|00002460| 0d 70 75 74 20 64 72 61 | 77 4c 69 73 74 4c 69 6e |.put dra|wListLin|
|00002470| 65 28 29 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |e() & re|turn & r|
|00002480| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 68 65 52 |eturn af|ter theR|
|00002490| 65 70 6f 72 74 0d 0d 69 | 66 20 74 68 65 46 6f 72 |eport..i|f theFor|
|000024a0| 6d 61 74 20 69 73 20 22 | 4c 69 73 74 22 20 74 68 |mat is "|List" th|
|000024b0| 65 6e 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |en.set c|ursor to|
|000024c0| 20 62 75 73 79 0d 69 66 | 20 6d 65 73 73 61 67 65 | busy.if| message|
|000024d0| 48 61 6e 64 6c 65 72 73 | 20 74 68 65 6e 0d 70 75 |Handlers| then.pu|
|000024e0| 74 20 22 4d 45 53 53 41 | 47 45 20 48 41 4e 44 4c |t "MESSA|GE HANDL|
|000024f0| 45 52 53 3a 22 20 26 20 | 72 65 74 75 72 6e 20 61 |ERS:" & |return a|
|00002500| 66 74 65 72 20 74 68 65 | 52 65 70 6f 72 74 0d 69 |fter the|Report.i|
|00002510| 66 20 4d 65 73 73 48 61 | 6e 64 4c 69 73 74 20 69 |f MessHa|ndList i|
|00002520| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00002530| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 63 6f 75 |.repeat |with cou|
|00002540| 6e 74 20 3d 20 31 20 74 | 6f 20 28 74 68 65 20 6e |nt = 1 t|o (the n|
|00002550| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00002560| 6e 20 4d 65 73 73 48 61 | 6e 64 4c 69 73 74 29 0d |n MessHa|ndList).|
|00002570| 69 66 20 43 6f 6d 6d 61 | 6e 64 50 65 72 69 6f 64 |if Comma|ndPeriod|
|00002580| 28 29 20 74 68 65 6e 20 | 61 62 6f 72 74 53 63 72 |() then |abortScr|
|00002590| 69 70 74 73 48 61 6e 64 | 6c 65 72 20 54 52 55 45 |iptsHand|ler TRUE|
|000025a0| 2c 54 52 55 45 2c 54 52 | 55 45 0d 67 65 74 20 6c |,TRUE,TR|UE.get l|
|000025b0| 69 6e 65 20 28 63 6f 75 | 6e 74 29 20 6f 66 20 4d |ine (cou|nt) of M|
|000025c0| 65 73 73 48 61 6e 64 4c | 69 73 74 0d 70 75 74 20 |essHandL|ist.put |
|000025d0| 22 20 20 20 20 20 20 20 | 20 20 20 22 20 62 65 66 |" | " bef|
|000025e0| 6f 72 65 20 69 74 0d 70 | 75 74 20 69 74 20 26 20 |ore it.p|ut it & |
|000025f0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 68 65 |return a|fter the|
|00002600| 52 65 70 6f 72 74 0d 65 | 6e 64 20 72 65 70 65 61 |Report.e|nd repea|
|00002610| 74 0d 65 6c 73 65 20 70 | 75 74 20 22 2d 2d 20 6e |t.else p|ut "-- n|
|00002620| 6f 6e 65 20 2d 2d 22 20 | 61 66 74 65 72 20 74 68 |one --" |after th|
|00002630| 65 52 65 70 6f 72 74 0d | 70 75 74 20 72 65 74 75 |eReport.|put retu|
|00002640| 72 6e 20 61 66 74 65 72 | 20 74 68 65 52 65 70 6f |rn after| theRepo|
|00002650| 72 74 0d 65 6e 64 20 69 | 66 0d 69 66 20 66 75 6e |rt.end i|f.if fun|
|00002660| 63 74 69 6f 6e 48 61 6e | 64 6c 65 72 73 20 74 68 |ctionHan|dlers th|
|00002670| 65 6e 0d 70 75 74 20 22 | 46 55 4e 43 54 49 4f 4e |en.put "|FUNCTION|
|00002680| 20 48 41 4e 44 4c 45 52 | 53 3a 22 20 26 20 72 65 | HANDLER|S:" & re|
|00002690| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 52 65 |turn aft|er theRe|
|000026a0| 70 6f 72 74 0d 69 66 20 | 46 75 6e 63 74 48 61 6e |port.if |FunctHan|
|000026b0| 64 4c 69 73 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |dList is| not emp|
|000026c0| 74 79 20 74 68 65 6e 0d | 72 65 70 65 61 74 20 77 |ty then.|repeat w|
|000026d0| 69 74 68 20 63 6f 75 6e | 74 20 3d 20 31 20 74 6f |ith coun|t = 1 to|
|000026e0| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|000026f0| 6c 69 6e 65 73 20 69 6e | 20 46 75 6e 63 74 48 61 |lines in| FunctHa|
|00002700| 6e 64 4c 69 73 74 29 0d | 69 66 20 43 6f 6d 6d 61 |ndList).|if Comma|
|00002710| 6e 64 50 65 72 69 6f 64 | 28 29 20 74 68 65 6e 20 |ndPeriod|() then |
|00002720| 61 62 6f 72 74 53 63 72 | 69 70 74 73 48 61 6e 64 |abortScr|iptsHand|
|00002730| 6c 65 72 20 54 52 55 45 | 2c 54 52 55 45 2c 54 52 |ler TRUE|,TRUE,TR|
|00002740| 55 45 0d 67 65 74 20 6c | 69 6e 65 20 28 63 6f 75 |UE.get l|ine (cou|
|00002750| 6e 74 29 20 6f 66 20 46 | 75 6e 63 74 48 61 6e 64 |nt) of F|unctHand|
|00002760| 4c 69 73 74 0d 70 75 74 | 20 22 20 20 20 20 20 20 |List.put| " |
|00002770| 20 20 20 20 22 20 62 65 | 66 6f 72 65 20 69 74 0d | " be|fore it.|
|00002780| 70 75 74 20 69 74 20 26 | 20 72 65 74 75 72 6e 20 |put it &| return |
|00002790| 61 66 74 65 72 20 74 68 | 65 52 65 70 6f 72 74 0d |after th|eReport.|
|000027a0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6c 73 65 20 |end repe|at.else |
|000027b0| 70 75 74 20 22 2d 2d 20 | 6e 6f 6e 65 20 2d 2d 22 |put "-- |none --"|
|000027c0| 20 61 66 74 65 72 20 74 | 68 65 52 65 70 6f 72 74 | after t|heReport|
|000027d0| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 61 66 74 65 |.put ret|urn afte|
|000027e0| 72 20 74 68 65 52 65 70 | 6f 72 74 0d 65 6e 64 20 |r theRep|ort.end |
|000027f0| 69 66 0d 69 66 20 6c 69 | 73 74 47 6c 6f 62 61 6c |if.if li|stGlobal|
|00002800| 73 20 74 68 65 6e 0d 70 | 75 74 20 22 47 4c 4f 42 |s then.p|ut "GLOB|
|00002810| 41 4c 53 3a 22 20 26 20 | 72 65 74 75 72 6e 20 61 |ALS:" & |return a|
|00002820| 66 74 65 72 20 74 68 65 | 52 65 70 6f 72 74 0d 69 |fter the|Report.i|
|00002830| 66 20 47 6c 6f 62 61 6c | 73 4c 69 73 74 20 69 73 |f Global|sList is|
|00002840| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00002850| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 6f 75 6e |repeat w|ith coun|
|00002860| 74 20 3d 20 31 20 74 6f | 20 28 74 68 65 20 6e 75 |t = 1 to| (the nu|
|00002870| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00002880| 20 47 6c 6f 62 61 6c 73 | 4c 69 73 74 29 0d 69 66 | Globals|List).if|
|00002890| 20 43 6f 6d 6d 61 6e 64 | 50 65 72 69 6f 64 28 29 | Command|Period()|
|000028a0| 20 74 68 65 6e 20 61 62 | 6f 72 74 53 63 72 69 70 | then ab|ortScrip|
|000028b0| 74 73 48 61 6e 64 6c 65 | 72 20 54 52 55 45 2c 54 |tsHandle|r TRUE,T|
|000028c0| 52 55 45 2c 54 52 55 45 | 0d 67 65 74 20 6c 69 6e |RUE,TRUE|.get lin|
|000028d0| 65 20 28 63 6f 75 6e 74 | 29 20 6f 66 20 47 6c 6f |e (count|) of Glo|
|000028e0| 62 61 6c 73 4c 69 73 74 | 0d 70 75 74 20 22 20 20 |balsList|.put " |
|000028f0| 20 20 20 20 20 20 20 20 | 22 20 62 65 66 6f 72 65 | |" before|
|00002900| 20 69 74 0d 70 75 74 20 | 69 74 20 26 20 72 65 74 | it.put |it & ret|
|00002910| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 52 65 70 |urn afte|r theRep|
|00002920| 6f 72 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |ort.end |repeat.e|
|00002930| 6c 73 65 20 70 75 74 20 | 22 2d 2d 20 6e 6f 6e 65 |lse put |"-- none|
|00002940| 20 2d 2d 22 20 61 66 74 | 65 72 20 74 68 65 52 65 | --" aft|er theRe|
|00002950| 70 6f 72 74 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |port.put| return |
|00002960| 61 66 74 65 72 20 74 68 | 65 52 65 70 6f 72 74 0d |after th|eReport.|
|00002970| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 20 2d 2d 20 |end if.e|lse -- |
|00002980| 69 66 20 74 68 65 46 6f | 72 6d 61 74 20 69 73 20 |if theFo|rmat is |
|00002990| 22 50 61 72 61 67 72 61 | 70 68 22 0d 73 65 74 20 |"Paragra|ph".set |
|000029a0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 69 |cursor t|o busy.i|
|000029b0| 66 20 6d 65 73 73 61 67 | 65 48 61 6e 64 6c 65 72 |f messag|eHandler|
|000029c0| 73 20 74 68 65 6e 0d 70 | 75 74 20 22 4d 45 53 53 |s then.p|ut "MESS|
|000029d0| 41 47 45 20 48 41 4e 44 | 4c 45 52 53 3a 22 20 26 |AGE HAND|LERS:" &|
|000029e0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|000029f0| 65 52 65 70 6f 72 74 0d | 70 75 74 20 66 6f 72 6d |eReport.|put form|
|00002a00| 61 74 4d 65 73 73 48 61 | 6e 64 4c 69 73 74 28 29 |atMessHa|ndList()|
|00002a10| 20 61 66 74 65 72 20 74 | 68 65 52 65 70 6f 72 74 | after t|heReport|
|00002a20| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 26 20 72 65 |.put ret|urn & re|
|00002a30| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 52 65 |turn aft|er theRe|
|00002a40| 70 6f 72 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 66 |port.end| if.if f|
|00002a50| 75 6e 63 74 69 6f 6e 48 | 61 6e 64 6c 65 72 73 20 |unctionH|andlers |
|00002a60| 74 68 65 6e 0d 70 75 74 | 20 22 46 55 4e 43 54 49 |then.put| "FUNCTI|
|00002a70| 4f 4e 20 48 41 4e 44 4c | 45 52 53 3a 22 20 26 20 |ON HANDL|ERS:" & |
|00002a80| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 68 65 |return a|fter the|
|00002a90| 52 65 70 6f 72 74 0d 70 | 75 74 20 66 6f 72 6d 61 |Report.p|ut forma|
|00002aa0| 74 46 75 6e 63 74 48 61 | 6e 64 4c 69 73 74 28 29 |tFunctHa|ndList()|
|00002ab0| 20 61 66 74 65 72 20 74 | 68 65 52 65 70 6f 72 74 | after t|heReport|
|00002ac0| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 26 20 72 65 |.put ret|urn & re|
|00002ad0| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 52 65 |turn aft|er theRe|
|00002ae0| 70 6f 72 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 6c |port.end| if.if l|
|00002af0| 69 73 74 47 6c 6f 62 61 | 6c 73 20 74 68 65 6e 0d |istGloba|ls then.|
|00002b00| 70 75 74 20 22 47 4c 4f | 42 41 4c 53 3a 22 20 26 |put "GLO|BALS:" &|
|00002b10| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|00002b20| 65 52 65 70 6f 72 74 0d | 70 75 74 20 66 6f 72 6d |eReport.|put form|
|00002b30| 61 74 47 6c 6f 62 61 6c | 73 4c 69 73 74 28 29 20 |atGlobal|sList() |
|00002b40| 61 66 74 65 72 20 74 68 | 65 52 65 70 6f 72 74 0d |after th|eReport.|
|00002b50| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 70 75 |end if.e|nd if.pu|
|00002b60| 74 20 22 53 63 72 69 70 | 74 73 20 52 65 70 6f 72 |t "Scrip|ts Repor|
|00002b70| 74 22 20 69 6e 74 6f 20 | 74 68 65 48 65 61 64 65 |t" into |theHeade|
|00002b80| 72 0d 69 66 20 74 68 65 | 43 68 6f 69 63 65 20 69 |r.if the|Choice i|
|00002b90| 73 20 22 35 22 20 74 68 | 65 6e 20 2d 2d 20 22 53 |s "5" th|en -- "S|
|00002ba0| 61 76 65 2e 2e 2e 22 0d | 6f 70 65 6e 20 66 69 6c |ave...".|open fil|
|00002bb0| 65 20 64 65 73 74 46 69 | 6c 65 0d 70 75 74 20 74 |e destFi|le.put t|
|00002bc0| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |he resul|t into t|
|00002bd0| 68 65 52 65 73 75 6c 74 | 0d 69 66 20 74 68 65 52 |heResult|.if theR|
|00002be0| 65 73 75 6c 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |esult is| not emp|
|00002bf0| 74 79 20 74 68 65 6e 20 | 73 68 6f 77 4e 6f 74 65 |ty then |showNote|
|00002c00| 32 20 22 43 61 6e 6e 6f | 74 20 6f 70 65 6e 20 66 |2 "Canno|t open f|
|00002c10| 69 6c 65 2e 22 2c 74 68 | 65 52 65 73 75 6c 74 0d |ile.",th|eResult.|
|00002c20| 70 75 74 20 74 68 65 48 | 65 61 64 65 72 20 26 20 |put theH|eader & |
|00002c30| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00002c40| 62 65 66 6f 72 65 20 74 | 68 65 52 65 70 6f 72 74 |before t|heReport|
|00002c50| 0d 77 72 69 74 65 20 74 | 68 65 52 65 70 6f 72 74 |.write t|heReport|
|00002c60| 20 74 6f 20 66 69 6c 65 | 20 64 65 73 74 46 69 6c | to file| destFil|
|00002c70| 65 0d 70 75 74 20 74 68 | 65 20 72 65 73 75 6c 74 |e.put th|e result|
|00002c80| 20 69 6e 74 6f 20 74 68 | 65 52 65 73 75 6c 74 0d | into th|eResult.|
|00002c90| 63 6c 6f 73 65 20 66 69 | 6c 65 20 64 65 73 74 46 |close fi|le destF|
|00002ca0| 69 6c 65 0d 69 66 20 74 | 68 65 52 65 73 75 6c 74 |ile.if t|heResult|
|00002cb0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002cc0| 65 6e 0d 73 68 6f 77 4e | 6f 74 65 32 20 22 43 6f |en.showN|ote2 "Co|
|00002cd0| 75 6c 64 20 6e 6f 74 20 | 73 61 76 65 20 6c 69 73 |uld not |save lis|
|00002ce0| 74 20 74 6f 20 64 69 73 | 6b 3a 22 2c 74 68 65 52 |t to dis|k:",theR|
|00002cf0| 65 73 75 6c 74 0d 65 6c | 73 65 0d 70 75 74 20 22 |esult.el|se.put "|
|00002d00| 54 68 65 20 53 63 72 69 | 70 74 73 20 52 65 70 6f |The Scri|pts Repo|
|00002d10| 72 74 20 77 61 73 20 73 | 75 63 63 65 73 73 66 75 |rt was s|uccessfu|
|00002d20| 6c 6c 79 20 73 61 76 65 | 64 20 74 6f 20 64 69 73 |lly save|d to dis|
|00002d30| 6b 20 61 73 3a 22 20 69 | 6e 74 6f 20 70 72 6f 6d |k as:" i|nto prom|
|00002d40| 70 74 31 0d 70 75 74 20 | 71 75 6f 74 65 20 26 20 |pt1.put |quote & |
|00002d50| 64 65 73 74 46 69 6c 65 | 20 26 20 71 75 6f 74 65 |destFile| & quote|
|00002d60| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 32 0d 73 68 | into pr|ompt2.sh|
|00002d70| 6f 77 4e 6f 74 65 32 20 | 70 72 6f 6d 70 74 31 2c |owNote2 |prompt1,|
|00002d80| 70 72 6f 6d 70 74 32 0d | 65 6e 64 20 69 66 0d 65 |prompt2.|end if.e|
|00002d90| 6c 73 65 20 69 66 20 74 | 68 65 43 68 6f 69 63 65 |lse if t|heChoice|
|00002da0| 20 69 73 20 22 36 22 20 | 74 68 65 6e 20 2d 2d 20 | is "6" |then -- |
|00002db0| 22 50 72 69 6e 74 2e 2e | 2e 22 0d 50 72 69 6e 74 |"Print..|.".Print|
|00002dc0| 44 6f 63 20 74 68 65 48 | 65 61 64 65 72 2c 74 68 |Doc theH|eader,th|
|00002dd0| 65 52 65 70 6f 72 74 2c | 74 68 65 48 65 61 64 65 |eReport,|theHeade|
|00002de0| 72 2c 72 65 70 6f 72 74 | 54 65 78 74 46 6f 6e 74 |r,report|TextFont|
|00002df0| 2c 72 65 70 6f 72 74 54 | 65 78 74 53 69 7a 65 2c |,reportT|extSize,|
|00002e00| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 73 65 74 20 |true.end| if.set |
|00002e10| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00002e20| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |next rep|eat.else|
|00002e30| 20 69 66 20 74 68 65 43 | 68 6f 69 63 65 20 69 73 | if theC|hoice is|
|00002e40| 20 22 37 22 20 74 68 65 | 6e 20 2d 2d 20 22 46 69 | "7" the|n -- "Fi|
|00002e50| 6e 64 2e 2e 2e 22 0d 69 | 66 20 74 68 65 20 6e 75 |nd...".i|f the nu|
|00002e60| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00002e70| 20 74 68 65 20 73 74 61 | 63 6b 73 49 6e 55 73 65 | the sta|cksInUse|
|00002e80| 20 3d 20 31 30 20 74 68 | 65 6e 0d 73 68 6f 77 4e | = 10 th|en.showN|
|00002e90| 6f 74 65 32 20 22 43 61 | 6e 6e 6f 74 20 64 6f 20 |ote2 "Ca|nnot do |
|00002ea0| 73 65 61 72 63 68 3a 22 | 2c 22 54 68 65 20 6d 61 |search:"|,"The ma|
|00002eb0| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|00002ec0| 73 74 61 63 6b 73 20 61 | 72 65 20 61 6c 72 65 61 |stacks a|re alrea|
|00002ed0| 64 79 20 69 6e 20 75 73 | 65 2e 22 0d 6e 65 78 74 |dy in us|e.".next|
|00002ee0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 70 | repeat.|end if.p|
|00002ef0| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 6c 69 6e |ut item |1 of lin|
|00002f00| 65 20 32 20 6f 66 20 69 | 74 20 69 6e 74 6f 20 74 |e 2 of i|t into t|
|00002f10| 68 65 4c 69 6e 65 4e 75 | 6d 0d 70 75 74 20 74 68 |heLineNu|m.put th|
|00002f20| 65 4c 69 6e 65 4e 75 6d | 20 69 6e 74 6f 20 64 65 |eLineNum| into de|
|00002f30| 66 61 75 6c 74 4c 69 6e | 65 20 2d 2d 20 72 65 6d |faultLin|e -- rem|
|00002f40| 65 6d 62 65 72 20 73 65 | 6c 65 63 74 65 64 20 6c |ember se|lected l|
|00002f50| 69 6e 65 0d 70 75 74 20 | 6c 69 6e 65 20 28 74 68 |ine.put |line (th|
|00002f60| 65 4c 69 6e 65 4e 75 6d | 29 20 6f 66 20 74 68 65 |eLineNum|) of the|
|00002f70| 4c 69 73 74 20 69 6e 74 | 6f 20 74 68 65 4c 69 6e |List int|o theLin|
|00002f80| 65 0d 69 66 20 22 2d 20 | 4d 45 53 53 41 47 45 20 |e.if "- |MESSAGE |
|00002f90| 48 41 4e 44 4c 45 52 53 | 22 20 69 73 20 69 6e 20 |HANDLERS|" is in |
|00002fa0| 74 68 65 4c 69 6e 65 20 | c2 0d 6f 72 20 22 2d 20 |theLine |..or "- |
|00002fb0| 46 55 4e 43 54 49 4f 4e | 20 48 41 4e 44 4c 45 52 |FUNCTION| HANDLER|
|00002fc0| 53 22 20 69 73 20 69 6e | 20 74 68 65 4c 69 6e 65 |S" is in| theLine|
|00002fd0| 20 c2 0d 6f 72 20 22 2d | 20 47 4c 4f 42 41 4c 53 | ..or "-| GLOBALS|
|00002fe0| 22 20 69 73 20 69 6e 20 | 74 68 65 4c 69 6e 65 20 |" is in |theLine |
|00002ff0| c2 0d 6f 72 20 22 6e 6f | 6e 65 20 66 6f 75 6e 64 |..or "no|ne found|
|00003000| 22 20 69 73 20 69 6e 20 | 74 68 65 4c 69 6e 65 20 |" is in |theLine |
|00003010| c2 0d 6f 72 20 74 68 65 | 4c 69 6e 65 4e 75 6d 20 |..or the|LineNum |
|00003020| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 6e |is empty| then.an|
|00003030| 73 77 65 72 20 22 4e 6f | 20 68 61 6e 64 6c 65 72 |swer "No| handler|
|00003040| 20 6f 72 20 67 6c 6f 62 | 61 6c 20 77 61 73 20 73 | or glob|al was s|
|00003050| 65 6c 65 63 74 65 64 2e | 22 0d 73 65 74 20 63 75 |elected.|".set cu|
|00003060| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 6e 65 |rsor to |watch.ne|
|00003070| 78 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |xt repea|t.end if|
|00003080| 0d 70 75 74 20 53 63 72 | 69 70 74 46 69 6e 64 53 |.put Scr|iptFindS|
|00003090| 74 72 69 6e 67 20 69 6e | 74 6f 20 78 53 46 53 20 |tring in|to xSFS |
|000030a0| 2d 2d 20 72 65 6d 65 6d | 62 65 72 20 66 69 6e 64 |-- remem|ber find|
|000030b0| 53 74 72 69 6e 67 0d 70 | 75 74 20 53 63 72 69 70 |String.p|ut Scrip|
|000030c0| 74 53 65 61 72 63 68 50 | 72 65 66 73 20 69 6e 74 |tSearchP|refs int|
|000030d0| 6f 20 78 53 53 50 20 2d | 2d 20 72 65 6d 65 6d 62 |o xSSP -|- rememb|
|000030e0| 65 72 20 70 72 65 66 73 | 0d 72 65 70 65 61 74 20 |er prefs|.repeat |
|000030f0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|00003100| 65 4c 69 6e 65 4e 75 6d | 0d 67 65 74 20 6c 69 6e |eLineNum|.get lin|
|00003110| 65 20 28 74 68 65 4c 69 | 6e 65 4e 75 6d 20 20 2d |e (theLi|neNum -|
|00003120| 20 69 29 20 6f 66 20 74 | 68 65 4c 69 73 74 0d 69 | i) of t|heList.i|
|00003130| 66 20 28 22 2d 2d 2d 2d | 22 20 69 73 20 69 6e 20 |f ("----|" is in |
|00003140| 69 74 29 20 74 68 65 6e | 20 65 78 69 74 20 72 65 |it) then| exit re|
|00003150| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00003160| 69 66 20 28 22 4d 65 73 | 73 61 67 65 20 48 61 6e |if ("Mes|sage Han|
|00003170| 64 6c 65 72 73 22 20 69 | 73 20 69 6e 20 69 74 29 |dlers" i|s in it)|
|00003180| 20 6f 72 20 28 22 46 75 | 6e 63 74 69 6f 6e 20 48 | or ("Fu|nction H|
|00003190| 61 6e 64 6c 65 72 73 22 | 20 69 73 20 69 6e 20 69 |andlers"| is in i|
|000031a0| 74 29 20 74 68 65 6e 0d | 70 75 74 20 63 74 72 44 |t) then.|put ctrD|
|000031b0| 67 4c 6f 63 20 28 32 34 | 34 2c 31 31 30 29 20 69 |gLoc (24|4,110) i|
|000031c0| 6e 74 6f 20 64 67 4c 6f | 63 32 0d 70 75 74 20 69 |nto dgLo|c2.put i|
|000031d0| 74 65 6d 20 31 20 6f 66 | 20 64 67 4c 6f 63 32 20 |tem 1 of| dgLoc2 |
|000031e0| 69 6e 74 6f 20 64 67 4c | 65 66 74 32 0d 70 75 74 |into dgL|eft2.put|
|000031f0| 20 69 74 65 6d 20 32 20 | 6f 66 20 64 67 4c 6f 63 | item 2 |of dgLoc|
|00003200| 32 20 69 6e 74 6f 20 64 | 67 54 6f 70 32 0d 73 68 |2 into d|gTop2.sh|
|00003210| 6f 77 44 69 61 6c 6f 67 | 20 33 2c 34 30 30 39 2c |owDialog| 3,4009,|
|00003220| 22 22 2c 22 22 2c 22 22 | 2c 33 2c 64 67 54 6f 70 |"","",""|,3,dgTop|
|00003230| 32 2c 64 67 4c 65 66 74 | 32 0d 70 75 74 20 74 68 |2,dgLeft|2.put th|
|00003240| 65 20 72 65 73 75 6c 74 | 20 69 6e 74 6f 20 73 65 |e result| into se|
|00003250| 61 72 63 68 43 68 6f 69 | 63 65 0d 73 65 74 20 63 |archChoi|ce.set c|
|00003260| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 69 |ursor to| watch.i|
|00003270| 66 20 73 65 61 72 63 68 | 43 68 6f 69 63 65 20 69 |f search|Choice i|
|00003280| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 6e 65 78 |s empty |then.nex|
|00003290| 74 20 72 65 70 65 61 74 | 0d 65 6c 73 65 0d 69 66 |t repeat|.else.if|
|000032a0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 73 65 61 72 63 | line 1 |of searc|
|000032b0| 68 43 68 6f 69 63 65 20 | 69 73 20 22 34 22 20 74 |hChoice |is "4" t|
|000032c0| 68 65 6e 0d 69 66 20 22 | 4d 65 73 73 61 67 65 20 |hen.if "|Message |
|000032d0| 48 61 6e 64 6c 65 72 73 | 22 20 69 73 20 69 6e 20 |Handlers|" is in |
|000032e0| 69 74 20 74 68 65 6e 20 | 70 75 74 20 22 6f 6e 22 |it then |put "on"|
|000032f0| 20 26 20 73 70 61 63 65 | 20 69 6e 74 6f 20 66 69 | & space| into fi|
|00003300| 6e 64 50 72 65 66 69 78 | 0d 65 6c 73 65 20 70 75 |ndPrefix|.else pu|
|00003310| 74 20 22 66 75 6e 63 74 | 69 6f 6e 22 20 26 20 73 |t "funct|ion" & s|
|00003320| 70 61 63 65 20 69 6e 74 | 6f 20 66 69 6e 64 50 72 |pace int|o findPr|
|00003330| 65 66 69 78 0d 65 6c 73 | 65 0d 70 75 74 20 65 6d |efix.els|e.put em|
|00003340| 70 74 79 20 69 6e 74 6f | 20 66 69 6e 64 50 72 65 |pty into| findPre|
|00003350| 66 69 78 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |fix.end |if.end i|
|00003360| 66 0d 70 75 74 20 66 69 | 6e 64 50 72 65 66 69 78 |f.put fi|ndPrefix|
|00003370| 20 26 20 74 68 65 4c 69 | 6e 65 20 69 6e 74 6f 20 | & theLi|ne into |
|00003380| 53 63 72 69 70 74 46 69 | 6e 64 53 74 72 69 6e 67 |ScriptFi|ndString|
|00003390| 0d 65 6c 73 65 20 69 66 | 20 22 47 6c 6f 62 61 6c |.else if| "Global|
|000033a0| 73 22 20 69 73 20 69 6e | 20 69 74 20 74 68 65 6e |s" is in| it then|
|000033b0| 0d 70 75 74 20 74 68 65 | 4c 69 6e 65 20 69 6e 74 |.put the|Line int|
|000033c0| 6f 20 53 63 72 69 70 74 | 46 69 6e 64 53 74 72 69 |o Script|FindStri|
|000033d0| 6e 67 0d 65 6c 73 65 0d | 70 75 74 20 22 43 61 6e |ng.else.|put "Can|
|000033e0| 6e 6f 74 20 64 6f 20 74 | 68 65 20 73 65 61 72 63 |not do t|he searc|
|000033f0| 68 2e 22 20 69 6e 74 6f | 20 70 72 6f 6d 70 74 31 |h." into| prompt1|
|00003400| 0d 70 75 74 20 22 45 72 | 72 6f 72 3a 20 20 4e 6f |.put "Er|ror: No|
|00003410| 20 27 74 79 70 65 27 20 | 72 65 66 65 72 65 6e 63 | 'type' |referenc|
|00003420| 65 20 77 61 73 20 66 6f | 75 6e 64 20 66 6f 72 20 |e was fo|und for |
|00003430| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 2e 22 20 |the sele|ction." |
|00003440| 69 6e 74 6f 20 70 72 6f | 6d 70 74 32 0d 73 68 6f |into pro|mpt2.sho|
|00003450| 77 4e 6f 74 65 32 20 70 | 72 6f 6d 70 74 31 2c 70 |wNote2 p|rompt1,p|
|00003460| 72 6f 6d 70 74 32 0d 73 | 65 74 20 63 75 72 73 6f |rompt2.s|et curso|
|00003470| 72 20 74 6f 20 77 61 74 | 63 68 0d 6e 65 78 74 20 |r to wat|ch.next |
|00003480| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 70 75 |repeat.e|nd if.pu|
|00003490| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 4c 69 73 74 |t item 1| of List|
|000034a0| 48 61 6e 64 6c 65 72 73 | 50 72 65 66 73 20 69 6e |Handlers|Prefs in|
|000034b0| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 53 63 72 |to item |1 of Scr|
|000034c0| 69 70 74 53 65 61 72 63 | 68 50 72 65 66 73 0d 70 |iptSearc|hPrefs.p|
|000034d0| 75 74 20 22 54 52 55 45 | 22 20 69 6e 74 6f 20 69 |ut "TRUE|" into i|
|000034e0| 74 65 6d 20 32 20 6f 66 | 20 53 63 72 69 70 74 53 |tem 2 of| ScriptS|
|000034f0| 65 61 72 63 68 50 72 65 | 66 73 20 2d 2d 20 66 69 |earchPre|fs -- fi|
|00003500| 6e 64 20 77 68 6f 6c 65 | 0d 70 75 74 20 69 74 65 |nd whole|.put ite|
|00003510| 6d 20 35 20 6f 66 20 4c | 69 73 74 48 61 6e 64 6c |m 5 of L|istHandl|
|00003520| 65 72 73 50 72 65 66 73 | 20 69 6e 74 6f 20 69 74 |ersPrefs| into it|
|00003530| 65 6d 20 33 20 6f 66 20 | 53 63 72 69 70 74 53 65 |em 3 of |ScriptSe|
|00003540| 61 72 63 68 50 72 65 66 | 73 0d 70 75 74 20 69 74 |archPref|s.put it|
|00003550| 65 6d 20 36 20 6f 66 20 | 4c 69 73 74 48 61 6e 64 |em 6 of |ListHand|
|00003560| 6c 65 72 73 50 72 65 66 | 73 20 69 6e 74 6f 20 69 |lersPref|s into i|
|00003570| 74 65 6d 20 34 20 6f 66 | 20 53 63 72 69 70 74 53 |tem 4 of| ScriptS|
|00003580| 65 61 72 63 68 50 72 65 | 66 73 0d 70 75 74 20 69 |earchPre|fs.put i|
|00003590| 74 65 6d 20 37 20 6f 66 | 20 4c 69 73 74 48 61 6e |tem 7 of| ListHan|
|000035a0| 64 6c 65 72 73 50 72 65 | 66 73 20 69 6e 74 6f 20 |dlersPre|fs into |
|000035b0| 69 74 65 6d 20 35 20 6f | 66 20 53 63 72 69 70 74 |item 5 o|f Script|
|000035c0| 53 65 61 72 63 68 50 72 | 65 66 73 0d 70 75 74 20 |SearchPr|efs.put |
|000035d0| 69 74 65 6d 20 38 20 6f | 66 20 4c 69 73 74 48 61 |item 8 o|f ListHa|
|000035e0| 6e 64 6c 65 72 73 50 72 | 65 66 73 20 69 6e 74 6f |ndlersPr|efs into|
|000035f0| 20 69 74 65 6d 20 36 20 | 6f 66 20 53 63 72 69 70 | item 6 |of Scrip|
|00003600| 74 53 65 61 72 63 68 50 | 72 65 66 73 0d 70 75 74 |tSearchP|refs.put|
|00003610| 20 69 74 65 6d 20 39 20 | 6f 66 20 4c 69 73 74 48 | item 9 |of ListH|
|00003620| 61 6e 64 6c 65 72 73 50 | 72 65 66 73 20 69 6e 74 |andlersP|refs int|
|00003630| 6f 20 69 74 65 6d 20 37 | 20 6f 66 20 53 63 72 69 |o item 7| of Scri|
|00003640| 70 74 53 65 61 72 63 68 | 50 72 65 66 73 0d 70 75 |ptSearch|Prefs.pu|
|00003650| 74 20 69 74 65 6d 20 31 | 30 20 6f 66 20 4c 69 73 |t item 1|0 of Lis|
|00003660| 74 48 61 6e 64 6c 65 72 | 73 50 72 65 66 73 20 69 |tHandler|sPrefs i|
|00003670| 6e 74 6f 20 69 74 65 6d | 20 38 20 6f 66 20 53 63 |nto item| 8 of Sc|
|00003680| 72 69 70 74 53 65 61 72 | 63 68 50 72 65 66 73 0d |riptSear|chPrefs.|
|00003690| 70 75 74 20 69 74 65 6d | 20 31 31 20 6f 66 20 4c |put item| 11 of L|
|000036a0| 69 73 74 48 61 6e 64 6c | 65 72 73 50 72 65 66 73 |istHandl|ersPrefs|
|000036b0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 39 20 6f 66 20 | into it|em 9 of |
|000036c0| 53 63 72 69 70 74 53 65 | 61 72 63 68 50 72 65 66 |ScriptSe|archPref|
|000036d0| 73 0d 69 66 20 43 6f 6d | 6d 61 6e 64 50 65 72 69 |s.if Com|mandPeri|
|000036e0| 6f 64 28 29 20 74 68 65 | 6e 20 61 62 6f 72 74 53 |od() the|n abortS|
|000036f0| 63 72 69 70 74 73 48 61 | 6e 64 6c 65 72 20 54 52 |criptsHa|ndler TR|
|00003700| 55 45 2c 54 52 55 45 2c | 54 52 55 45 0d 73 74 61 |UE,TRUE,|TRUE.sta|
|00003710| 72 74 55 73 69 6e 67 53 | 74 61 63 6b 20 22 53 74 |rtUsingS|tack "St|
|00003720| 61 63 6b 54 6f 6f 6c 73 | 35 22 2c 46 41 4c 53 45 |ackTools|5",FALSE|
|00003730| 0d 64 6f 53 65 61 72 63 | 68 53 63 72 69 70 74 73 |.doSearc|hScripts|
|00003740| 0d 73 74 6f 70 55 73 69 | 6e 67 53 74 61 63 6b 20 |.stopUsi|ngStack |
|00003750| 22 53 74 61 63 6b 54 6f | 6f 6c 73 35 22 2c 46 41 |"StackTo|ols5",FA|
|00003760| 4c 53 45 0d 70 75 74 20 | 78 53 46 53 20 69 6e 74 |LSE.put |xSFS int|
|00003770| 6f 20 53 63 72 69 70 74 | 46 69 6e 64 53 74 72 69 |o Script|FindStri|
|00003780| 6e 67 20 2d 2d 20 72 65 | 73 74 6f 72 65 20 66 69 |ng -- re|store fi|
|00003790| 6e 64 53 74 72 69 6e 67 | 0d 70 75 74 20 78 53 53 |ndString|.put xSS|
|000037a0| 50 20 69 6e 74 6f 20 53 | 63 72 69 70 74 53 65 61 |P into S|criptSea|
|000037b0| 72 63 68 50 72 65 66 73 | 20 20 2d 2d 20 72 65 73 |rchPrefs| -- res|
|000037c0| 74 6f 72 65 20 70 72 65 | 66 73 0d 65 6e 64 20 69 |tore pre|fs.end i|
|000037d0| 66 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |f.set cu|rsor to |
|000037e0| 77 61 74 63 68 0d 65 6e | 64 20 72 65 70 65 61 74 |watch.en|d repeat|
|000037f0| 0d 65 6e 64 20 64 6f 4c | 69 73 74 48 61 6e 64 6c |.end doL|istHandl|
|00003800| 65 72 73 0d 0d 2d 2d 2d | 2d 2d 2d 45 78 70 6f 72 |ers..---|---Expor|
|00003810| 74 20 53 63 72 69 70 74 | 20 48 61 6e 64 6c 65 72 |t Script| Handler|
|00003820| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003830| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003850| 2d 2d 2d 0d 0d 6f 6e 20 | 65 78 70 6f 72 74 54 68 |---..on |exportTh|
|00003860| 65 53 63 72 69 70 74 73 | 20 73 72 63 46 69 6c 65 |eScripts| srcFile|
|00003870| 2c 64 65 73 74 46 69 6c | 65 2c 74 68 65 50 72 65 |,destFil|e,thePre|
|00003880| 66 73 0d 70 75 73 68 20 | 63 61 72 64 20 2d 2d 20 |fs.push |card -- |
|00003890| 72 65 6d 65 6d 62 65 72 | 20 77 68 65 72 65 20 77 |remember| where w|
|000038a0| 65 20 61 72 65 0d 73 65 | 74 20 6c 6f 63 6b 4d 65 |e are.se|t lockMe|
|000038b0| 73 73 61 67 65 73 20 74 | 6f 20 74 72 75 65 20 2d |ssages t|o true -|
|000038c0| 2d 20 61 76 6f 69 64 20 | 6f 70 65 6e 20 6d 65 73 |- avoid |open mes|
|000038d0| 73 61 67 65 73 0d 6c 6f | 63 6b 20 73 63 72 65 65 |sages.lo|ck scree|
|000038e0| 6e 0d 63 65 6e 74 65 72 | 50 72 6f 6d 70 74 6f 69 |n.center|Promptoi|
|000038f0| 64 20 22 65 78 70 6f 72 | 74 69 6e 67 20 73 63 72 |d "expor|ting scr|
|00003900| 69 70 74 73 2e 2e 2e 22 | 0d 67 6f 20 73 72 63 46 |ipts..."|.go srcF|
|00003910| 69 6c 65 20 2d 2d 20 67 | 6f 20 74 6f 20 74 68 65 |ile -- g|o to the|
|00003920| 20 73 74 61 63 6b 0d 73 | 65 74 43 61 6e 74 41 62 | stack.s|etCantAb|
|00003930| 6f 72 74 20 54 52 55 45 | 0d 70 75 74 20 69 74 65 |ort TRUE|.put ite|
|00003940| 6d 20 31 20 6f 66 20 74 | 68 65 50 72 65 66 73 20 |m 1 of t|hePrefs |
|00003950| 69 6e 74 6f 20 73 65 61 | 72 63 68 43 75 72 72 65 |into sea|rchCurre|
|00003960| 6e 74 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |nt.put i|tem 2 of|
|00003970| 20 74 68 65 50 72 65 66 | 73 20 69 6e 74 6f 20 73 | thePref|s into s|
|00003980| 68 6f 77 53 63 72 69 70 | 74 53 69 7a 65 0d 70 75 |howScrip|tSize.pu|
|00003990| 74 20 69 74 65 6d 20 33 | 20 6f 66 20 74 68 65 50 |t item 3| of theP|
|000039a0| 72 65 66 73 20 69 6e 74 | 6f 20 6c 69 73 74 48 61 |refs int|o listHa|
|000039b0| 6e 64 6c 65 72 73 41 6e | 64 47 6c 6f 62 61 6c 73 |ndlersAn|dGlobals|
|000039c0| 0d 70 75 74 20 69 74 65 | 6d 20 34 20 6f 66 20 74 |.put ite|m 4 of t|
|000039d0| 68 65 50 72 65 66 73 20 | 69 6e 74 6f 20 6c 69 73 |hePrefs |into lis|
|000039e0| 74 53 63 72 69 70 74 54 | 65 78 74 0d 70 75 74 20 |tScriptT|ext.put |
|000039f0| 69 74 65 6d 20 35 20 6f | 66 20 74 68 65 50 72 65 |item 5 o|f thePre|
|00003a00| 66 73 20 69 6e 74 6f 20 | 73 65 61 72 63 68 53 74 |fs into |searchSt|
|00003a10| 61 63 6b 0d 70 75 74 20 | 69 74 65 6d 20 36 20 6f |ack.put |item 6 o|
|00003a20| 66 20 74 68 65 50 72 65 | 66 73 20 69 6e 74 6f 20 |f thePre|fs into |
|00003a30| 73 65 61 72 63 68 42 6b | 67 6e 64 0d 70 75 74 20 |searchBk|gnd.put |
|00003a40| 69 74 65 6d 20 37 20 6f | 66 20 74 68 65 50 72 65 |item 7 o|f thePre|
|00003a50| 66 73 20 69 6e 74 6f 20 | 73 65 61 72 63 68 43 61 |fs into |searchCa|
|00003a60| 72 64 0d 70 75 74 20 69 | 74 65 6d 20 38 20 6f 66 |rd.put i|tem 8 of|
|00003a70| 20 74 68 65 50 72 65 66 | 73 20 69 6e 74 6f 20 73 | thePref|s into s|
|00003a80| 65 61 72 63 68 42 67 42 | 75 74 74 6f 6e 0d 70 75 |earchBgB|utton.pu|
|00003a90| 74 20 69 74 65 6d 20 39 | 20 6f 66 20 74 68 65 50 |t item 9| of theP|
|00003aa0| 72 65 66 73 20 69 6e 74 | 6f 20 73 65 61 72 63 68 |refs int|o search|
|00003ab0| 43 64 42 75 74 74 6f 6e | 0d 70 75 74 20 69 74 65 |CdButton|.put ite|
|00003ac0| 6d 20 31 30 20 6f 66 20 | 74 68 65 50 72 65 66 73 |m 10 of |thePrefs|
|00003ad0| 20 69 6e 74 6f 20 73 65 | 61 72 63 68 42 67 46 69 | into se|archBgFi|
|00003ae0| 65 6c 64 0d 70 75 74 20 | 69 74 65 6d 20 31 31 20 |eld.put |item 11 |
|00003af0| 6f 66 20 74 68 65 50 72 | 65 66 73 20 69 6e 74 6f |of thePr|efs into|
|00003b00| 20 73 65 61 72 63 68 43 | 64 46 69 65 6c 64 0d 6f | searchC|dField.o|
|00003b10| 70 65 6e 20 66 69 6c 65 | 20 64 65 73 74 46 69 6c |pen file| destFil|
|00003b20| 65 0d 77 72 69 74 65 20 | 22 44 61 74 65 3a 22 20 |e.write |"Date:" |
|00003b30| 26 26 20 74 68 65 20 73 | 68 6f 72 74 20 64 61 74 |&& the s|hort dat|
|00003b40| 65 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |e & retu|rn & .."|
|00003b50| 53 74 61 63 6b 3a 22 20 | 26 26 20 73 68 6f 72 74 |Stack:" |&& short|
|00003b60| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00003b70| 61 63 6b 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |ack & re|turn & .|
|00003b80| 0d 64 72 61 77 4c 69 73 | 74 4c 69 6e 65 28 29 20 |.drawLis|tLine() |
|00003b90| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00003ba0| 6e 20 26 20 72 65 74 75 | 72 6e 20 26 20 72 65 74 |n & retu|rn & ret|
|00003bb0| 75 72 6e 20 74 6f 20 66 | 69 6c 65 20 64 65 73 74 |urn to f|ile dest|
|00003bc0| 46 69 6c 65 0d 0d 2d 2d | 20 65 78 70 6f 72 74 20 |File..--| export |
|00003bd0| 74 68 65 20 73 74 61 63 | 6b 20 73 63 72 69 70 74 |the stac|k script|
|00003be0| 0d 69 66 20 43 6f 6d 6d | 61 6e 64 50 65 72 69 6f |.if Comm|andPerio|
|00003bf0| 64 28 29 20 74 68 65 6e | 20 61 62 6f 72 74 53 63 |d() then| abortSc|
|00003c00| 72 69 70 74 73 48 61 6e | 64 6c 65 72 20 54 52 55 |riptsHan|dler TRU|
|00003c10| 45 2c 54 52 55 45 2c 54 | 52 55 45 0d 69 66 20 74 |E,TRUE,T|RUE.if t|
|00003c20| 68 65 53 63 72 69 70 74 | 4c 65 6e 67 74 68 28 22 |heScript|Length("|
|00003c30| 74 68 69 73 20 73 74 61 | 63 6b 22 29 20 61 6e 64 |this sta|ck") and|
|00003c40| 20 73 65 61 72 63 68 53 | 74 61 63 6b 20 74 68 65 | searchS|tack the|
|00003c50| 6e 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 20 6f |n.set th|e text o|
|00003c60| 66 20 77 69 6e 64 6f 77 | 20 22 50 72 6f 6d 70 74 |f window| "Prompt|
|00003c70| 6f 69 64 22 20 74 6f 20 | 22 65 78 70 6f 72 74 69 |oid" to |"exporti|
|00003c80| 6e 67 3a 20 20 73 74 61 | 63 6b 20 73 63 72 69 70 |ng: sta|ck scrip|
|00003c90| 74 22 0d 67 65 74 48 61 | 6e 64 6c 65 72 4c 69 73 |t".getHa|ndlerLis|
|00003ca0| 74 73 20 73 63 72 69 70 | 74 20 6f 66 20 74 68 69 |ts scrip|t of thi|
|00003cb0| 73 20 73 74 61 63 6b 0d | 77 72 69 74 65 20 74 6f |s stack.|write to|
|00003cc0| 70 42 6f 74 74 6f 6d 4c | 69 6e 65 73 28 22 53 54 |pBottomL|ines("ST|
|00003cd0| 41 43 4b 20 53 43 52 49 | 50 54 3a 22 29 20 26 20 |ACK SCRI|PT:") & |
|00003ce0| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00003cf0| 26 20 c2 0d 61 64 64 53 | 63 72 69 70 74 49 6e 66 |& ..addS|criptInf|
|00003d00| 6f 28 73 63 72 69 70 74 | 20 6f 66 20 74 68 69 73 |o(script| of this|
|00003d10| 20 73 74 61 63 6b 2c 73 | 68 6f 77 53 63 72 69 70 | stack,s|howScrip|
|00003d20| 74 53 69 7a 65 2c 6c 69 | 73 74 48 61 6e 64 6c 65 |tSize,li|stHandle|
|00003d30| 72 73 41 6e 64 47 6c 6f | 62 61 6c 73 2c 6c 69 73 |rsAndGlo|bals,lis|
|00003d40| 74 53 63 72 69 70 74 54 | 65 78 74 29 20 74 6f 20 |tScriptT|ext) to |
|00003d50| 66 69 6c 65 20 64 65 73 | 74 46 69 6c 65 0d 65 6e |file des|tFile.en|
|00003d60| 64 20 69 66 0d 0d 2d 2d | 20 65 78 70 6f 72 74 20 |d if..--| export |
|00003d70| 74 68 65 20 62 61 63 6b | 67 72 6f 75 6e 64 20 73 |the back|ground s|
|00003d80| 63 72 69 70 74 73 20 61 | 6e 64 20 6f 62 6a 65 63 |cripts a|nd objec|
|00003d90| 74 73 20 6f 66 20 74 68 | 65 20 73 74 61 63 6b 0d |ts of th|e stack.|
|00003da0| 69 66 20 73 65 61 72 63 | 68 42 6b 67 6e 64 20 6f |if searc|hBkgnd o|
|00003db0| 72 20 73 65 61 72 63 68 | 42 67 42 75 74 74 6f 6e |r search|BgButton|
|00003dc0| 20 6f 72 20 73 65 61 72 | 63 68 42 67 46 69 65 6c | or sear|chBgFiel|
|00003dd0| 64 20 74 68 65 6e 0d 73 | 65 74 20 74 68 65 20 74 |d then.s|et the t|
|00003de0| 65 78 74 20 6f 66 20 77 | 69 6e 64 6f 77 20 22 50 |ext of w|indow "P|
|00003df0| 72 6f 6d 70 74 6f 69 64 | 22 20 74 6f 20 22 65 78 |romptoid|" to "ex|
|00003e00| 70 6f 72 74 69 6e 67 3a | 20 20 62 6b 67 6e 64 20 |porting:| bkgnd |
|00003e10| 6f 62 6a 65 63 74 20 73 | 63 72 69 70 74 73 22 0d |object s|cripts".|
|00003e20| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 42 |repeat w|ith curB|
|00003e30| 67 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |g = 1 to| the num|
|00003e40| 62 65 72 20 6f 66 20 62 | 67 73 0d 69 66 20 43 6f |ber of b|gs.if Co|
|00003e50| 6d 6d 61 6e 64 50 65 72 | 69 6f 64 28 29 20 74 68 |mmandPer|iod() th|
|00003e60| 65 6e 20 61 62 6f 72 74 | 53 63 72 69 70 74 73 48 |en abort|ScriptsH|
|00003e70| 61 6e 64 6c 65 72 20 54 | 52 55 45 2c 54 52 55 45 |andler T|RUE,TRUE|
|00003e80| 2c 54 52 55 45 0d 73 65 | 74 20 63 75 72 73 6f 72 |,TRUE.se|t cursor|
|00003e90| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 65 6d 70 | to busy|.put emp|
|00003ea0| 74 79 20 69 6e 74 6f 20 | 74 68 69 73 42 67 0d 70 |ty into |thisBg.p|
|00003eb0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00003ec0| 69 73 42 67 42 74 6e 73 | 0d 70 75 74 20 65 6d 70 |isBgBtns|.put emp|
|00003ed0| 74 79 20 69 6e 74 6f 20 | 74 68 69 73 42 67 46 6c |ty into |thisBgFl|
|00003ee0| 64 73 0d 67 6f 20 74 6f | 20 63 64 20 31 20 6f 66 |ds.go to| cd 1 of|
|00003ef0| 20 62 67 20 63 75 72 42 | 67 0d 0d 2d 2d 20 65 78 | bg curB|g..-- ex|
|00003f00| 70 6f 72 74 20 74 68 65 | 20 62 67 20 73 63 72 69 |port the| bg scri|
|00003f10| 70 74 0d 69 66 20 74 68 | 65 53 63 72 69 70 74 4c |pt.if th|eScriptL|
|00003f20| 65 6e 67 74 68 28 22 74 | 68 69 73 20 62 67 22 29 |ength("t|his bg")|
|00003f30| 20 61 6e 64 20 73 65 61 | 72 63 68 42 6b 67 6e 64 | and sea|rchBkgnd|
|00003f40| 20 74 68 65 6e 0d 67 65 | 74 48 61 6e 64 6c 65 72 | then.ge|tHandler|
|00003f50| 4c 69 73 74 73 20 73 63 | 72 69 70 74 20 6f 66 20 |Lists sc|ript of |
|00003f60| 74 68 69 73 20 62 67 0d | 77 72 69 74 65 20 74 6f |this bg.|write to|
|00003f70| 70 42 6f 74 74 6f 6d 4c | 69 6e 65 73 28 22 42 41 |pBottomL|ines("BA|
|00003f80| 43 4b 47 52 4f 55 4e 44 | 20 53 43 52 49 50 54 3a |CKGROUND| SCRIPT:|
|00003f90| 22 20 26 26 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |" && sho|rt name |
|00003fa0| 6f 66 20 74 68 69 73 20 | 62 67 29 20 26 20 72 65 |of this |bg) & re|
|00003fb0| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 26 20 |turn & r|eturn & |
|00003fc0| c2 0d 61 64 64 53 63 72 | 69 70 74 49 6e 66 6f 28 |..addScr|iptInfo(|
|00003fd0| 73 63 72 69 70 74 20 6f | 66 20 74 68 69 73 20 62 |script o|f this b|
|00003fe0| 67 2c 73 68 6f 77 53 63 | 72 69 70 74 53 69 7a 65 |g,showSc|riptSize|
|00003ff0| 2c 6c 69 73 74 48 61 6e | 64 6c 65 72 73 41 6e 64 |,listHan|dlersAnd|
|00004000| 47 6c 6f 62 61 6c 73 2c | 6c 69 73 74 53 63 72 69 |Globals,|listScri|
|00004010| 70 74 54 65 78 74 29 20 | 74 6f 20 66 69 6c 65 20 |ptText) |to file |
|00004020| 64 65 73 74 46 69 6c 65 | 0d 70 75 74 20 22 61 6e |destFile|.put "an|
|00004030| 79 74 68 69 6e 67 22 20 | 69 6e 74 6f 20 74 68 69 |ything" |into thi|
|00004040| 73 42 67 0d 65 6e 64 20 | 69 66 0d 0d 2d 2d 20 65 |sBg.end |if..-- e|
|00004050| 78 70 6f 72 74 20 74 68 | 65 20 62 67 20 62 74 6e |xport th|e bg btn|
|00004060| 20 73 63 72 69 70 74 73 | 0d 69 66 20 73 65 61 72 | scripts|.if sear|
|00004070| 63 68 42 67 42 75 74 74 | 6f 6e 20 74 68 65 6e 0d |chBgButt|on then.|
|00004080| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 42 |repeat w|ith curB|
|00004090| 67 42 74 6e 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |gBtn = 1| to the |
|000040a0| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 20 62 74 6e |number o|f bg btn|
|000040b0| 73 0d 69 66 20 43 6f 6d | 6d 61 6e 64 50 65 72 69 |s.if Com|mandPeri|
|000040c0| 6f 64 28 29 20 74 68 65 | 6e 20 61 62 6f 72 74 53 |od() the|n abortS|
|000040d0| 63 72 69 70 74 73 48 61 | 6e 64 6c 65 72 20 54 52 |criptsHa|ndler TR|
|000040e0| 55 45 2c 54 52 55 45 2c | 54 52 55 45 0d 73 65 74 |UE,TRUE,|TRUE.set|
|000040f0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00004100| 69 66 20 74 68 65 53 63 | 72 69 70 74 4c 65 6e 67 |if theSc|riptLeng|
|00004110| 74 68 28 22 62 67 20 62 | 74 6e 22 20 26 26 20 63 |th("bg b|tn" && c|
|00004120| 75 72 42 67 42 74 6e 29 | 20 74 68 65 6e 0d 69 66 |urBgBtn)| then.if|
|00004130| 20 74 68 69 73 42 67 20 | 69 73 20 65 6d 70 74 79 | thisBg |is empty|
|00004140| 20 74 68 65 6e 0d 77 72 | 69 74 65 20 74 6f 70 42 | then.wr|ite topB|
|00004150| 6f 74 74 6f 6d 4c 69 6e | 65 73 28 22 42 41 43 4b |ottomLin|es("BACK|
|00004160| 47 52 4f 55 4e 44 3a 22 | 20 26 26 20 73 68 6f 72 |GROUND:"| && shor|
|00004170| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 62 |t name o|f this b|
|00004180| 67 29 20 26 20 72 65 74 | 75 72 6e 20 26 20 72 65 |g) & ret|urn & re|
|00004190| 74 75 72 6e 20 74 6f 20 | 66 69 6c 65 20 64 65 73 |turn to |file des|
|000041a0| 74 46 69 6c 65 0d 70 75 | 74 20 22 61 6e 79 74 68 |tFile.pu|t "anyth|
|000041b0| 69 6e 67 22 20 69 6e 74 | 6f 20 74 68 69 73 42 67 |ing" int|o thisBg|
|000041c0| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 69 73 42 |.end if.|if thisB|
|000041d0| 67 42 74 6e 73 20 69 73 | 20 65 6d 70 74 79 20 74 |gBtns is| empty t|
|000041e0| 68 65 6e 0d 77 72 69 74 | 65 20 74 6f 70 42 6f 74 |hen.writ|e topBot|
|000041f0| 74 6f 6d 4c 69 6e 65 73 | 28 22 42 41 43 4b 47 52 |tomLines|("BACKGR|
|00004200| 4f 55 4e 44 20 42 55 54 | 54 4f 4e 20 53 43 52 49 |OUND BUT|TON SCRI|
|00004210| 50 54 53 22 29 20 26 20 | 72 65 74 75 72 6e 20 26 |PTS") & |return &|
|00004220| 20 72 65 74 75 72 6e 20 | 74 6f 20 66 69 6c 65 20 | return |to file |
|00004230| 64 65 73 74 46 69 6c 65 | 0d 70 75 74 20 22 61 6e |destFile|.put "an|
|00004240| 79 74 68 69 6e 67 22 20 | 69 6e 74 6f 20 74 68 69 |ything" |into thi|
|00004250| 73 42 67 42 74 6e 73 0d | 65 6e 64 20 69 66 0d 67 |sBgBtns.|end if.g|
|00004260| 65 74 48 61 6e 64 6c 65 | 72 4c 69 73 74 73 20 73 |etHandle|rLists s|
|00004270| 63 72 69 70 74 20 6f 66 | 20 62 67 20 62 74 6e 20 |cript of| bg btn |
|00004280| 63 75 72 42 67 42 74 6e | 0d 77 72 69 74 65 20 74 |curBgBtn|.write t|
|00004290| 6f 70 42 6f 74 74 6f 6d | 4c 69 6e 65 73 28 22 42 |opBottom|Lines("B|
|000042a0| 55 54 54 4f 4e 3a 22 20 | 26 26 20 6e 61 6d 65 20 |UTTON:" |&& name |
|000042b0| 6f 66 20 62 67 20 62 74 | 6e 20 63 75 72 42 67 42 |of bg bt|n curBgB|
|000042c0| 74 6e 29 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |tn) & re|turn & r|
|000042d0| 65 74 75 72 6e 20 26 20 | c2 0d 61 64 64 53 63 72 |eturn & |..addScr|
|000042e0| 69 70 74 49 6e 66 6f 28 | 73 63 72 69 70 74 20 6f |iptInfo(|script o|
|000042f0| 66 20 62 67 20 62 74 6e | 20 63 75 72 42 67 42 74 |f bg btn| curBgBt|
|00004300| 6e 2c 73 68 6f 77 53 63 | 72 69 70 74 53 69 7a 65 |n,showSc|riptSize|
|00004310| 2c 6c 69 73 74 48 61 6e | 64 6c 65 72 73 41 6e 64 |,listHan|dlersAnd|
|00004320| 47 6c 6f 62 61 6c 73 2c | 6c 69 73 74 53 63 72 69 |Globals,|listScri|
|00004330| 70 74 54 65 78 74 29 20 | 74 6f 20 66 69 6c 65 20 |ptText) |to file |
|00004340| 64 65 73 74 46 69 6c 65 | 0d 65 6e 64 20 69 66 0d |destFile|.end if.|
|00004350| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00004360| 66 0d 0d 2d 2d 20 65 78 | 70 6f 72 74 20 74 68 65 |f..-- ex|port the|
|00004370| 20 62 67 20 66 69 65 6c | 64 20 73 63 72 69 70 74 | bg fiel|d script|
|00004380| 73 0d 69 66 20 73 65 61 | 72 63 68 42 67 46 69 65 |s.if sea|rchBgFie|
|00004390| 6c 64 20 74 68 65 6e 0d | 72 65 70 65 61 74 20 77 |ld then.|repeat w|
|000043a0| 69 74 68 20 63 75 72 42 | 67 46 6c 64 20 3d 20 31 |ith curB|gFld = 1|
|000043b0| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|000043c0| 66 20 62 67 20 66 69 65 | 6c 64 73 0d 69 66 20 43 |f bg fie|lds.if C|
|000043d0| 6f 6d 6d 61 6e 64 50 65 | 72 69 6f 64 28 29 20 74 |ommandPe|riod() t|
|000043e0| 68 65 6e 20 61 62 6f 72 | 74 53 63 72 69 70 74 73 |hen abor|tScripts|
|000043f0| 48 61 6e 64 6c 65 72 20 | 54 52 55 45 2c 54 52 55 |Handler |TRUE,TRU|
|00004400| 45 2c 54 52 55 45 0d 73 | 65 74 20 63 75 72 73 6f |E,TRUE.s|et curso|
|00004410| 72 20 74 6f 20 62 75 73 | 79 0d 69 66 20 74 68 65 |r to bus|y.if the|
|00004420| 53 63 72 69 70 74 4c 65 | 6e 67 74 68 28 22 62 67 |ScriptLe|ngth("bg|
|00004430| 20 66 6c 64 22 20 26 26 | 20 63 75 72 42 67 46 6c | fld" &&| curBgFl|
|00004440| 64 29 20 74 68 65 6e 0d | 69 66 20 74 68 69 73 42 |d) then.|if thisB|
|00004450| 67 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |g is emp|ty then.|
|00004460| 77 72 69 74 65 20 74 6f | 70 42 6f 74 74 6f 6d 4c |write to|pBottomL|
|00004470| 69 6e 65 73 28 22 42 41 | 43 4b 47 52 4f 55 4e 44 |ines("BA|CKGROUND|
|00004480| 3a 22 20 26 26 20 73 68 | 6f 72 74 20 6e 61 6d 65 |:" && sh|ort name|
|00004490| 20 6f 66 20 74 68 69 73 | 20 62 67 29 20 26 20 72 | of this| bg) & r|
|000044a0| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 74 |eturn & |return t|
|000044b0| 6f 20 66 69 6c 65 20 64 | 65 73 74 46 69 6c 65 0d |o file d|estFile.|
|000044c0| 70 75 74 20 22 61 6e 79 | 74 68 69 6e 67 22 20 69 |put "any|thing" i|
|000044d0| 6e 74 6f 20 74 68 69 73 | 42 67 0d 65 6e 64 20 69 |nto this|Bg.end i|
|000044e0| 66 0d 69 66 20 74 68 69 | 73 42 67 46 6c 64 73 20 |f.if thi|sBgFlds |
|000044f0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 77 72 |is empty| then.wr|
|00004500| 69 74 65 20 74 6f 70 42 | 6f 74 74 6f 6d 4c 69 6e |ite topB|ottomLin|
|00004510| 65 73 28 22 42 41 43 4b | 47 52 4f 55 4e 44 20 46 |es("BACK|GROUND F|
|00004520| 49 45 4c 44 20 53 43 52 | 49 50 54 53 22 29 20 26 |IELD SCR|IPTS") &|
|00004530| 20 72 65 74 75 72 6e 20 | 26 20 72 65 74 75 72 6e | return |& return|
|00004540| 20 74 6f 20 66 69 6c 65 | 20 64 65 73 74 46 69 6c | to file| destFil|
|00004550| 65 0d 70 75 74 20 22 61 | 6e 79 74 68 69 6e 67 22 |e.put "a|nything"|
|00004560| 20 69 6e 74 6f 20 74 68 | 69 73 42 67 46 6c 64 73 | into th|isBgFlds|
|00004570| 0d 65 6e 64 20 69 66 0d | 67 65 74 48 61 6e 64 6c |.end if.|getHandl|
|00004580| 65 72 4c 69 73 74 73 20 | 73 63 72 69 70 74 20 6f |erLists |script o|
|00004590| 66 20 62 67 20 66 69 65 | 6c 64 20 63 75 72 42 67 |f bg fie|ld curBg|
|000045a0| 46 6c 64 0d 77 72 69 74 | 65 20 74 6f 70 42 6f 74 |Fld.writ|e topBot|
|000045b0| 74 6f 6d 4c 69 6e 65 73 | 28 22 46 49 45 4c 44 3a |tomLines|("FIELD:|
|000045c0| 22 20 26 26 20 6e 61 6d | 65 20 6f 66 20 62 67 20 |" && nam|e of bg |
|000045d0| 66 6c 64 20 63 75 72 42 | 67 46 6c 64 29 20 26 20 |fld curB|gFld) & |
|000045e0| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|000045f0| 26 20 c2 0d 61 64 64 53 | 63 72 69 70 74 49 6e 66 |& ..addS|criptInf|
|00004600| 6f 28 73 63 72 69 70 74 | 20 6f 66 20 62 67 20 66 |o(script| of bg f|
|00004610| 69 65 6c 64 20 63 75 72 | 42 67 46 6c 64 2c 73 68 |ield cur|BgFld,sh|
|00004620| 6f 77 53 63 72 69 70 74 | 53 69 7a 65 2c 6c 69 73 |owScript|Size,lis|
|00004630| 74 48 61 6e 64 6c 65 72 | 73 41 6e 64 47 6c 6f 62 |tHandler|sAndGlob|
|00004640| 61 6c 73 2c 6c 69 73 74 | 53 63 72 69 70 74 54 65 |als,list|ScriptTe|
|00004650| 78 74 29 20 74 6f 20 66 | 69 6c 65 20 64 65 73 74 |xt) to f|ile dest|
|00004660| 46 69 6c 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |File.end| if.end |
|00004670| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 0d 69 |repeat.e|nd if..i|
|00004680| 66 20 73 65 61 72 63 68 | 43 75 72 72 65 6e 74 20 |f search|Current |
|00004690| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|000046a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000046b0| 69 66 0d 0d 2d 2d 20 65 | 78 70 6f 72 74 20 74 68 |if..-- e|xport th|
|000046c0| 65 20 63 61 72 64 20 73 | 63 72 69 70 74 73 20 61 |e card s|cripts a|
|000046d0| 6e 64 20 6f 62 6a 65 63 | 74 73 20 6f 66 20 74 68 |nd objec|ts of th|
|000046e0| 65 20 73 74 61 63 6b 0d | 69 66 20 73 65 61 72 63 |e stack.|if searc|
|000046f0| 68 43 61 72 64 20 6f 72 | 20 73 65 61 72 63 68 43 |hCard or| searchC|
|00004700| 64 42 75 74 74 6f 6e 20 | 6f 72 20 73 65 61 72 63 |dButton |or searc|
|00004710| 68 43 64 46 69 65 6c 64 | 20 74 68 65 6e 0d 73 65 |hCdField| then.se|
|00004720| 74 20 74 68 65 20 74 65 | 78 74 20 6f 66 20 77 69 |t the te|xt of wi|
|00004730| 6e 64 6f 77 20 22 50 72 | 6f 6d 70 74 6f 69 64 22 |ndow "Pr|omptoid"|
|00004740| 20 74 6f 20 22 65 78 70 | 6f 72 74 69 6e 67 3a 20 | to "exp|orting: |
|00004750| 20 63 61 72 64 20 6f 62 | 6a 65 63 74 20 73 63 72 | card ob|ject scr|
|00004760| 69 70 74 73 22 0d 72 65 | 70 65 61 74 20 77 69 74 |ipts".re|peat wit|
|00004770| 68 20 63 75 72 43 64 20 | 3d 20 31 20 74 6f 20 74 |h curCd |= 1 to t|
|00004780| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 73 |he numbe|r of cds|
|00004790| 0d 69 66 20 43 6f 6d 6d | 61 6e 64 50 65 72 69 6f |.if Comm|andPerio|
|000047a0| 64 28 29 20 74 68 65 6e | 20 61 62 6f 72 74 53 63 |d() then| abortSc|
|000047b0| 72 69 70 74 73 48 61 6e | 64 6c 65 72 20 54 52 55 |riptsHan|dler TRU|
|000047c0| 45 2c 54 52 55 45 2c 54 | 52 55 45 0d 73 65 74 20 |E,TRUE,T|RUE.set |
|000047d0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|000047e0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|000047f0| 69 73 43 64 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |isCd.put| empty i|
|00004800| 6e 74 6f 20 74 68 69 73 | 43 64 42 74 6e 73 0d 70 |nto this|CdBtns.p|
|00004810| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00004820| 69 73 43 64 46 6c 64 73 | 0d 67 6f 20 63 61 72 64 |isCdFlds|.go card|
|00004830| 20 63 75 72 43 64 0d 0d | 2d 2d 20 65 78 70 6f 72 | curCd..|-- expor|
|00004840| 74 20 74 68 65 20 63 61 | 72 64 20 73 63 72 69 70 |t the ca|rd scrip|
|00004850| 74 0d 69 66 20 74 68 65 | 53 63 72 69 70 74 4c 65 |t.if the|ScriptLe|
|00004860| 6e 67 74 68 28 22 74 68 | 69 73 20 63 64 22 29 20 |ngth("th|is cd") |
|00004870| 61 6e 64 20 73 65 61 72 | 63 68 43 61 72 64 20 74 |and sear|chCard t|
|00004880| 68 65 6e 0d 67 65 74 48 | 61 6e 64 6c 65 72 4c 69 |hen.getH|andlerLi|
|00004890| 73 74 73 20 73 63 72 69 | 70 74 20 6f 66 20 74 68 |sts scri|pt of th|
|000048a0| 69 73 20 63 61 72 64 0d | 77 72 69 74 65 20 74 6f |is card.|write to|
|000048b0| 70 42 6f 74 74 6f 6d 4c | 69 6e 65 73 28 22 43 41 |pBottomL|ines("CA|
|000048c0| 52 44 20 53 43 52 49 50 | 54 3a 22 20 26 26 20 73 |RD SCRIP|T:" && s|
|000048d0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000048e0| 73 20 63 61 72 64 29 20 | 26 20 72 65 74 75 72 6e |s card) |& return|
|000048f0| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 61 64 | & retur|n & ..ad|
|00004900| 64 53 63 72 69 70 74 49 | 6e 66 6f 28 73 63 72 69 |dScriptI|nfo(scri|
|00004910| 70 74 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 2c |pt of th|is card,|
|00004920| 73 68 6f 77 53 63 72 69 | 70 74 53 69 7a 65 2c 6c |showScri|ptSize,l|
|00004930| 69 73 74 48 61 6e 64 6c | 65 72 73 41 6e 64 47 6c |istHandl|ersAndGl|
|00004940| 6f 62 61 6c 73 2c 6c 69 | 73 74 53 63 72 69 70 74 |obals,li|stScript|
|00004950| 54 65 78 74 29 20 74 6f | 20 66 69 6c 65 20 64 65 |Text) to| file de|
|00004960| 73 74 46 69 6c 65 0d 70 | 75 74 20 22 61 6e 79 74 |stFile.p|ut "anyt|
|00004970| 68 69 6e 67 22 20 69 6e | 74 6f 20 74 68 69 73 43 |hing" in|to thisC|
|00004980| 64 0d 65 6e 64 20 69 66 | 0d 0d 2d 2d 20 65 78 70 |d.end if|..-- exp|
|00004990| 6f 72 74 20 74 68 65 20 | 63 61 72 64 20 62 74 6e |ort the |card btn|
|000049a0| 20 73 63 72 69 70 74 73 | 0d 69 66 20 73 65 61 72 | scripts|.if sear|
|000049b0| 63 68 43 64 42 75 74 74 | 6f 6e 20 74 68 65 6e 0d |chCdButt|on then.|
|000049c0| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 43 |repeat w|ith curC|
|000049d0| 64 42 74 6e 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |dBtn = 1| to the |
|000049e0| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 20 62 |number o|f card b|
|000049f0| 74 6e 73 0d 69 66 20 43 | 6f 6d 6d 61 6e 64 50 65 |tns.if C|ommandPe|
|00004a00| 72 69 6f 64 28 29 20 74 | 68 65 6e 20 61 62 6f 72 |riod() t|hen abor|
|00004a10| 74 53 63 72 69 70 74 73 | 48 61 6e 64 6c 65 72 20 |tScripts|Handler |
|00004a20| 54 52 55 45 2c 54 52 55 | 45 2c 54 52 55 45 0d 73 |TRUE,TRU|E,TRUE.s|
|00004a30| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00004a40| 79 0d 69 66 20 74 68 65 | 53 63 72 69 70 74 4c 65 |y.if the|ScriptLe|
|00004a50| 6e 67 74 68 28 22 63 64 | 20 62 74 6e 22 20 26 26 |ngth("cd| btn" &&|
|00004a60| 20 63 75 72 43 64 42 74 | 6e 29 20 74 68 65 6e 0d | curCdBt|n) then.|
|00004a70| 69 66 20 74 68 69 73 43 | 64 20 69 73 20 65 6d 70 |if thisC|d is emp|
|00004a80| 74 79 20 74 68 65 6e 0d | 77 72 69 74 65 20 74 6f |ty then.|write to|
|00004a90| 70 42 6f 74 74 6f 6d 4c | 69 6e 65 73 28 22 43 41 |pBottomL|ines("CA|
|00004aa0| 52 44 3a 22 20 26 26 20 | 73 68 6f 72 74 20 6e 61 |RD:" && |short na|
|00004ab0| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 29 |me of th|is card)|
|00004ac0| 20 26 20 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | & retur|n & retu|
|00004ad0| 72 6e 20 74 6f 20 66 69 | 6c 65 20 64 65 73 74 46 |rn to fi|le destF|
|00004ae0| 69 6c 65 0d 70 75 74 20 | 22 61 6e 79 74 68 69 6e |ile.put |"anythin|
|00004af0| 67 22 20 69 6e 74 6f 20 | 74 68 69 73 43 64 0d 65 |g" into |thisCd.e|
|00004b00| 6e 64 20 69 66 0d 69 66 | 20 74 68 69 73 43 64 42 |nd if.if| thisCdB|
|00004b10| 74 6e 73 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |tns is e|mpty the|
|00004b20| 6e 0d 77 72 69 74 65 20 | 74 6f 70 42 6f 74 74 6f |n.write |topBotto|
|00004b30| 6d 4c 69 6e 65 73 28 22 | 43 41 52 44 20 42 55 54 |mLines("|CARD BUT|
|00004b40| 54 4f 4e 20 53 43 52 49 | 50 54 53 22 29 20 26 20 |TON SCRI|PTS") & |
|00004b50| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00004b60| 74 6f 20 66 69 6c 65 20 | 64 65 73 74 46 69 6c 65 |to file |destFile|
|00004b70| 0d 70 75 74 20 22 61 6e | 79 74 68 69 6e 67 22 20 |.put "an|ything" |
|00004b80| 69 6e 74 6f 20 74 68 69 | 73 43 64 42 74 6e 73 0d |into thi|sCdBtns.|
|00004b90| 65 6e 64 20 69 66 0d 67 | 65 74 48 61 6e 64 6c 65 |end if.g|etHandle|
|00004ba0| 72 4c 69 73 74 73 20 73 | 63 72 69 70 74 20 6f 66 |rLists s|cript of|
|00004bb0| 20 63 64 20 62 74 6e 20 | 63 75 72 43 64 42 74 6e | cd btn |curCdBtn|
|00004bc0| 0d 77 72 69 74 65 20 74 | 6f 70 42 6f 74 74 6f 6d |.write t|opBottom|
|00004bd0| 4c 69 6e 65 73 28 22 42 | 55 54 54 4f 4e 3a 22 20 |Lines("B|UTTON:" |
|00004be0| 26 26 20 6e 61 6d 65 20 | 6f 66 20 63 64 20 62 74 |&& name |of cd bt|
|00004bf0| 6e 20 63 75 72 43 64 42 | 74 6e 29 20 26 20 72 65 |n curCdB|tn) & re|
|00004c00| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 26 20 |turn & r|eturn & |
|00004c10| c2 0d 61 64 64 53 63 72 | 69 70 74 49 6e 66 6f 28 |..addScr|iptInfo(|
|00004c20| 73 63 72 69 70 74 20 6f | 66 20 63 64 20 62 74 6e |script o|f cd btn|
|00004c30| 20 63 75 72 43 64 42 74 | 6e 2c 73 68 6f 77 53 63 | curCdBt|n,showSc|
|00004c40| 72 69 70 74 53 69 7a 65 | 2c 6c 69 73 74 48 61 6e |riptSize|,listHan|
|00004c50| 64 6c 65 72 73 41 6e 64 | 47 6c 6f 62 61 6c 73 2c |dlersAnd|Globals,|
|00004c60| 6c 69 73 74 53 63 72 69 | 70 74 54 65 78 74 29 20 |listScri|ptText) |
|00004c70| 74 6f 20 66 69 6c 65 20 | 64 65 73 74 46 69 6c 65 |to file |destFile|
|00004c80| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00004c90| 61 74 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 65 78 |at.end i|f..-- ex|
|00004ca0| 70 6f 72 74 20 74 68 65 | 20 63 61 72 64 20 66 69 |port the| card fi|
|00004cb0| 65 6c 64 20 73 63 72 69 | 70 74 73 0d 69 66 20 73 |eld scri|pts.if s|
|00004cc0| 65 61 72 63 68 43 64 46 | 69 65 6c 64 20 74 68 65 |earchCdF|ield the|
|00004cd0| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 75 |n.repeat| with cu|
|00004ce0| 72 43 64 46 6c 64 20 3d | 20 31 20 74 6f 20 74 68 |rCdFld =| 1 to th|
|00004cf0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 61 72 64 |e number| of card|
|00004d00| 20 66 69 65 6c 64 73 0d | 69 66 20 43 6f 6d 6d 61 | fields.|if Comma|
|00004d10| 6e 64 50 65 72 69 6f 64 | 28 29 20 74 68 65 6e 20 |ndPeriod|() then |
|00004d20| 61 62 6f 72 74 53 63 72 | 69 70 74 73 48 61 6e 64 |abortScr|iptsHand|
|00004d30| 6c 65 72 20 54 52 55 45 | 2c 54 52 55 45 2c 54 52 |ler TRUE|,TRUE,TR|
|00004d40| 55 45 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |UE.set c|ursor to|
|00004d50| 20 62 75 73 79 0d 69 66 | 20 74 68 65 53 63 72 69 | busy.if| theScri|
|00004d60| 70 74 4c 65 6e 67 74 68 | 28 22 63 64 20 66 6c 64 |ptLength|("cd fld|
|00004d70| 22 20 26 26 20 63 75 72 | 43 64 46 6c 64 29 20 74 |" && cur|CdFld) t|
|00004d80| 68 65 6e 0d 69 66 20 74 | 68 69 73 43 64 20 69 73 |hen.if t|hisCd is|
|00004d90| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 77 72 69 74 | empty t|hen.writ|
|00004da0| 65 20 74 6f 70 42 6f 74 | 74 6f 6d 4c 69 6e 65 73 |e topBot|tomLines|
|00004db0| 28 22 43 41 52 44 3a 22 | 20 26 26 20 73 68 6f 72 |("CARD:"| && shor|
|00004dc0| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |t name o|f this c|
|00004dd0| 61 72 64 29 20 26 20 72 | 65 74 75 72 6e 20 26 20 |ard) & r|eturn & |
|00004de0| 72 65 74 75 72 6e 20 74 | 6f 20 66 69 6c 65 20 64 |return t|o file d|
|00004df0| 65 73 74 46 69 6c 65 0d | 70 75 74 20 22 61 6e 79 |estFile.|put "any|
|00004e00| 74 68 69 6e 67 22 20 69 | 6e 74 6f 20 74 68 69 73 |thing" i|nto this|
|00004e10| 43 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 69 |Cd.end i|f.if thi|
|00004e20| 73 43 64 46 6c 64 73 20 | 69 73 20 65 6d 70 74 79 |sCdFlds |is empty|
|00004e30| 20 74 68 65 6e 0d 77 72 | 69 74 65 20 74 6f 70 42 | then.wr|ite topB|
|00004e40| 6f 74 74 6f 6d 4c 69 6e | 65 73 28 22 43 41 52 44 |ottomLin|es("CARD|
|00004e50| 20 46 49 45 4c 44 20 53 | 43 52 49 50 54 53 22 29 | FIELD S|CRIPTS")|
|00004e60| 20 26 20 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | & retur|n & retu|
|00004e70| 72 6e 20 74 6f 20 66 69 | 6c 65 20 64 65 73 74 46 |rn to fi|le destF|
|00004e80| 69 6c 65 0d 70 75 74 20 | 22 61 6e 79 74 68 69 6e |ile.put |"anythin|
|00004e90| 67 22 20 69 6e 74 6f 20 | 74 68 69 73 43 64 46 6c |g" into |thisCdFl|
|00004ea0| 64 73 0d 65 6e 64 20 69 | 66 0d 67 65 74 48 61 6e |ds.end i|f.getHan|
|00004eb0| 64 6c 65 72 4c 69 73 74 | 73 20 73 63 72 69 70 74 |dlerList|s script|
|00004ec0| 20 6f 66 20 63 64 20 66 | 69 65 6c 64 20 63 75 72 | of cd f|ield cur|
|00004ed0| 43 64 46 6c 64 0d 77 72 | 69 74 65 20 74 6f 70 42 |CdFld.wr|ite topB|
|00004ee0| 6f 74 74 6f 6d 4c 69 6e | 65 73 28 22 46 49 45 4c |ottomLin|es("FIEL|
|00004ef0| 44 3a 22 20 26 26 20 6e | 61 6d 65 20 6f 66 20 63 |D:" && n|ame of c|
|00004f00| 64 20 66 6c 64 20 63 75 | 72 43 64 46 6c 64 29 20 |d fld cu|rCdFld) |
|00004f10| 26 20 72 65 74 75 72 6e | 20 26 20 72 65 74 75 72 |& return| & retur|
|00004f20| 6e 20 26 20 c2 0d 61 64 | 64 53 63 72 69 70 74 49 |n & ..ad|dScriptI|
|00004f30| 6e 66 6f 28 73 63 72 69 | 70 74 20 6f 66 20 63 64 |nfo(scri|pt of cd|
|00004f40| 20 66 69 65 6c 64 20 63 | 75 72 43 64 46 6c 64 2c | field c|urCdFld,|
|00004f50| 73 68 6f 77 53 63 72 69 | 70 74 53 69 7a 65 2c 6c |showScri|ptSize,l|
|00004f60| 69 73 74 48 61 6e 64 6c | 65 72 73 41 6e 64 47 6c |istHandl|ersAndGl|
|00004f70| 6f 62 61 6c 73 2c 6c 69 | 73 74 53 63 72 69 70 74 |obals,li|stScript|
|00004f80| 54 65 78 74 29 20 74 6f | 20 66 69 6c 65 20 64 65 |Text) to| file de|
|00004f90| 73 74 46 69 6c 65 0d 65 | 6e 64 20 69 66 0d 65 6e |stFile.e|nd if.en|
|00004fa0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|00004fb0| 0d 69 66 20 73 65 61 72 | 63 68 43 75 72 72 65 6e |.if sear|chCurren|
|00004fc0| 74 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |t then e|xit repe|
|00004fd0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |at.end r|epeat.en|
|00004fe0| 64 20 69 66 0d 0d 63 6c | 6f 73 65 20 66 69 6c 65 |d if..cl|ose file|
|00004ff0| 20 64 65 73 74 46 69 6c | 65 0d 69 66 20 74 68 65 | destFil|e.if the|
|00005000| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 22 |re is a |window "|
|00005010| 50 72 6f 6d 70 74 6f 69 | 64 22 20 74 68 65 6e 20 |Promptoi|d" then |
|00005020| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 22 50 72 |close wi|ndow "Pr|
|00005030| 6f 6d 70 74 6f 69 64 22 | 0d 73 65 74 43 61 6e 74 |omptoid"|.setCant|
|00005040| 41 62 6f 72 74 20 46 41 | 4c 53 45 0d 70 6f 70 20 |Abort FA|LSE.pop |
|00005050| 63 61 72 64 20 2d 2d 20 | 72 65 74 75 72 6e 20 74 |card -- |return t|
|00005060| 6f 20 77 68 65 72 65 20 | 77 65 20 77 65 72 65 0d |o where |we were.|
|00005070| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00005080| 20 74 6f 20 66 61 6c 73 | 65 0d 75 6e 6c 6f 63 6b | to fals|e.unlock|
|00005090| 20 73 63 72 65 65 6e 0d | 70 75 74 20 22 54 68 65 | screen.|put "The|
|000050a0| 20 73 63 72 69 70 74 73 | 20 6f 66 20 73 74 61 63 | scripts| of stac|
|000050b0| 6b 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 63 75 |k" && qu|ote & cu|
|000050c0| 74 53 74 72 69 6e 67 28 | 73 74 72 69 70 50 61 74 |tString(|stripPat|
|000050d0| 68 28 73 72 63 46 69 6c | 65 29 2c 32 35 29 20 26 |h(srcFil|e),25) &|
|000050e0| 20 71 75 6f 74 65 20 26 | 26 20 22 77 65 72 65 20 | quote &|& "were |
|000050f0| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 20 73 61 76 |successf|ully sav|
|00005100| 65 64 20 74 6f 20 64 69 | 73 6b 20 61 73 3a 22 20 |ed to di|sk as:" |
|00005110| 69 6e 74 6f 20 70 72 6f | 6d 70 74 31 0d 70 75 74 |into pro|mpt1.put|
|00005120| 20 71 75 6f 74 65 20 26 | 20 64 65 73 74 46 69 6c | quote &| destFil|
|00005130| 65 20 26 20 71 75 6f 74 | 65 20 69 6e 74 6f 20 70 |e & quot|e into p|
|00005140| 72 6f 6d 70 74 32 0d 73 | 68 6f 77 4e 6f 74 65 32 |rompt2.s|howNote2|
|00005150| 20 70 72 6f 6d 70 74 31 | 2c 70 72 6f 6d 70 74 32 | prompt1|,prompt2|
|00005160| 0d 65 6e 64 20 65 78 70 | 6f 72 74 54 68 65 53 63 |.end exp|ortTheSc|
|00005170| 72 69 70 74 73 0d 0d 2d | 2d 2d 2d 2d 2d 53 63 72 |ripts..-|-----Scr|
|00005180| 69 70 74 20 55 74 69 6c | 69 74 79 20 48 61 6e 64 |ipt Util|ity Hand|
|00005190| 6c 65 72 73 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |lers----|--------|
|000051a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000051b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000051c0| 2d 2d 2d 2d 2d 2d 2d 0d | 0d 66 75 6e 63 74 69 6f |-------.|.functio|
|000051d0| 6e 20 61 64 64 53 63 72 | 69 70 74 49 6e 66 6f 20 |n addScr|iptInfo |
|000051e0| 74 68 65 53 63 72 69 70 | 74 2c 73 68 6f 77 53 63 |theScrip|t,showSc|
|000051f0| 72 69 70 74 53 69 7a 65 | 2c 6c 69 73 74 48 61 6e |riptSize|,listHan|
|00005200| 64 6c 65 72 73 41 6e 64 | 47 6c 6f 62 61 6c 73 2c |dlersAnd|Globals,|
|00005210| 6c 69 73 74 53 63 72 69 | 70 74 54 65 78 74 0d 70 |listScri|ptText.p|
|00005220| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00005230| 65 49 6e 66 6f 0d 69 66 | 20 73 68 6f 77 53 63 72 |eInfo.if| showScr|
|00005240| 69 70 74 53 69 7a 65 20 | 74 68 65 6e 0d 70 75 74 |iptSize |then.put|
|00005250| 20 22 53 63 72 69 70 74 | 20 4c 65 6e 67 74 68 3a | "Script| Length:|
|00005260| 20 20 20 20 20 22 20 26 | 20 74 68 65 20 6c 65 6e | " &| the len|
|00005270| 67 74 68 20 6f 66 20 74 | 68 65 53 63 72 69 70 74 |gth of t|heScript|
|00005280| 20 26 20 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | & retur|n & retu|
|00005290| 72 6e 20 61 66 74 65 72 | 20 74 68 65 49 6e 66 6f |rn after| theInfo|
|000052a0| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 69 73 74 48 |.end if.|if listH|
|000052b0| 61 6e 64 6c 65 72 73 41 | 6e 64 47 6c 6f 62 61 6c |andlersA|ndGlobal|
|000052c0| 73 20 74 68 65 6e 0d 70 | 75 74 20 22 4d 65 73 73 |s then.p|ut "Mess|
|000052d0| 61 67 65 20 48 61 6e 64 | 6c 65 72 73 3a 20 20 20 |age Hand|lers: |
|000052e0| 20 20 22 20 26 20 66 6f | 72 6d 61 74 4d 65 73 73 | " & fo|rmatMess|
|000052f0| 48 61 6e 64 4c 69 73 74 | 28 29 20 26 20 72 65 74 |HandList|() & ret|
|00005300| 75 72 6e 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |urn & re|turn & .|
|00005310| 0d 22 46 75 6e 63 74 69 | 6f 6e 20 48 61 6e 64 6c |."Functi|on Handl|
|00005320| 65 72 73 3a 20 20 20 20 | 20 22 20 26 20 66 6f 72 |ers: | " & for|
|00005330| 6d 61 74 46 75 6e 63 74 | 48 61 6e 64 4c 69 73 74 |matFunct|HandList|
|00005340| 28 29 20 26 20 72 65 74 | 75 72 6e 20 26 20 72 65 |() & ret|urn & re|
|00005350| 74 75 72 6e 20 26 20 c2 | 0d 22 47 6c 6f 62 61 6c |turn & .|."Global|
|00005360| 73 3a 20 20 20 20 20 22 | 20 26 20 66 6f 72 6d 61 |s: "| & forma|
|00005370| 74 47 6c 6f 62 61 6c 73 | 4c 69 73 74 28 29 20 26 |tGlobals|List() &|
|00005380| 20 72 65 74 75 72 6e 20 | 26 20 72 65 74 75 72 6e | return |& return|
|00005390| 20 61 66 74 65 72 20 74 | 68 65 49 6e 66 6f 0d 65 | after t|heInfo.e|
|000053a0| 6e 64 20 69 66 0d 69 66 | 20 6c 69 73 74 53 63 72 |nd if.if| listScr|
|000053b0| 69 70 74 54 65 78 74 20 | 74 68 65 6e 0d 70 75 74 |iptText |then.put|
|000053c0| 20 64 69 76 69 64 65 72 | 4c 69 6e 65 28 29 20 26 | divider|Line() &|
|000053d0| 20 72 65 74 75 72 6e 20 | 26 20 74 68 65 53 63 72 | return |& theScr|
|000053e0| 69 70 74 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |ipt & re|turn & .|
|000053f0| 0d 64 69 76 69 64 65 72 | 4c 69 6e 65 28 29 20 26 |.divider|Line() &|
|00005400| 20 72 65 74 75 72 6e 20 | 26 20 72 65 74 75 72 6e | return |& return|
|00005410| 20 26 20 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | & retur|n & retu|
|00005420| 72 6e 20 61 66 74 65 72 | 20 74 68 65 49 6e 66 6f |rn after| theInfo|
|00005430| 0d 65 6e 64 20 69 66 0d | 72 65 74 75 72 6e 20 74 |.end if.|return t|
|00005440| 68 65 49 6e 66 6f 0d 65 | 6e 64 20 61 64 64 53 63 |heInfo.e|nd addSc|
|00005450| 72 69 70 74 49 6e 66 6f | 0d 0d 6f 6e 20 67 65 74 |riptInfo|..on get|
|00005460| 48 61 6e 64 6c 65 72 4c | 69 73 74 73 20 74 68 65 |HandlerL|ists the|
|00005470| 53 63 72 69 70 74 0d 78 | 4c 69 73 74 48 61 6e 64 |Script.x|ListHand|
|00005480| 6c 65 72 47 6c 6f 62 61 | 6c 73 0d 61 64 64 54 6f |lerGloba|ls.addTo|
|00005490| 4d 65 73 73 48 61 6e 64 | 4c 69 73 74 20 74 68 65 |MessHand|List the|
|000054a0| 53 63 72 69 70 74 0d 61 | 64 64 54 6f 46 75 6e 63 |Script.a|ddToFunc|
|000054b0| 74 48 61 6e 64 4c 69 73 | 74 20 74 68 65 53 63 72 |tHandLis|t theScr|
|000054c0| 69 70 74 0d 61 64 64 54 | 6f 47 6c 6f 62 61 6c 73 |ipt.addT|oGlobals|
|000054d0| 20 74 68 65 53 63 72 69 | 70 74 0d 65 6e 64 20 67 | theScri|pt.end g|
|000054e0| 65 74 48 61 6e 64 6c 65 | 72 4c 69 73 74 73 0d 0d |etHandle|rLists..|
|000054f0| 6f 6e 20 61 64 64 54 6f | 4d 65 73 73 48 61 6e 64 |on addTo|MessHand|
|00005500| 4c 69 73 74 20 74 68 65 | 53 63 72 69 70 74 0d 67 |List the|Script.g|
|00005510| 6c 6f 62 61 6c 20 4d 65 | 73 73 48 61 6e 64 4c 69 |lobal Me|ssHandLi|
|00005520| 73 74 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |st.set c|ursor to|
|00005530| 20 62 75 73 79 0d 70 75 | 74 20 46 75 6c 6c 46 69 | busy.pu|t FullFi|
|00005540| 6e 64 28 74 68 65 53 63 | 72 69 70 74 2c 22 6f 6e |nd(theSc|ript,"on|
|00005550| 22 2c 54 52 55 45 2c 54 | 52 55 45 29 20 69 6e 74 |",TRUE,T|RUE) int|
|00005560| 6f 20 73 65 61 72 63 68 | 52 65 73 75 6c 74 0d 69 |o search|Result.i|
|00005570| 66 20 73 65 61 72 63 68 | 52 65 73 75 6c 74 20 69 |f search|Result i|
|00005580| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00005590| 74 20 61 64 64 54 6f 4d | 65 73 73 48 61 6e 64 4c |t addToM|essHandL|
|000055a0| 69 73 74 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ist.repe|at with |
|000055b0| 63 6f 75 6e 74 20 3d 20 | 31 20 74 6f 20 28 74 68 |count = |1 to (th|
|000055c0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|000055d0| 73 20 69 6e 20 73 65 61 | 72 63 68 52 65 73 75 6c |s in sea|rchResul|
|000055e0| 74 29 0d 67 65 74 20 6c | 69 6e 65 20 28 63 6f 75 |t).get l|ine (cou|
|000055f0| 6e 74 29 20 6f 66 20 73 | 65 61 72 63 68 52 65 73 |nt) of s|earchRes|
|00005600| 75 6c 74 0d 70 75 74 20 | 6c 69 6e 65 20 28 69 74 |ult.put |line (it|
|00005610| 65 6d 20 32 20 6f 66 20 | 69 74 29 20 6f 66 20 74 |em 2 of |it) of t|
|00005620| 68 65 53 63 72 69 70 74 | 20 69 6e 74 6f 20 74 68 |heScript| into th|
|00005630| 65 53 63 72 69 70 74 4c | 69 6e 65 0d 69 66 20 77 |eScriptL|ine.if w|
|00005640| 6f 72 64 20 31 20 6f 66 | 20 74 68 65 53 63 72 69 |ord 1 of| theScri|
|00005650| 70 74 4c 69 6e 65 20 69 | 73 20 22 6f 6e 22 20 74 |ptLine i|s "on" t|
|00005660| 68 65 6e 0d 69 66 20 72 | 65 74 75 72 6e 20 26 20 |hen.if r|eturn & |
|00005670| 77 6f 72 64 20 32 20 6f | 66 20 74 68 65 53 63 72 |word 2 o|f theScr|
|00005680| 69 70 74 4c 69 6e 65 20 | 26 20 72 65 74 75 72 6e |iptLine |& return|
|00005690| 20 69 73 20 6e 6f 74 20 | 69 6e 20 4d 65 73 73 48 | is not |in MessH|
|000056a0| 61 6e 64 4c 69 73 74 20 | 74 68 65 6e 20 c2 0d 70 |andList |then ..p|
|000056b0| 75 74 20 77 6f 72 64 20 | 32 20 6f 66 20 74 68 65 |ut word |2 of the|
|000056c0| 53 63 72 69 70 74 4c 69 | 6e 65 20 26 20 72 65 74 |ScriptLi|ne & ret|
|000056d0| 75 72 6e 20 61 66 74 65 | 72 20 4d 65 73 73 48 61 |urn afte|r MessHa|
|000056e0| 6e 64 4c 69 73 74 0d 65 | 6e 64 20 69 66 0d 65 6e |ndList.e|nd if.en|
|000056f0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 61 64 64 |d repeat|.end add|
|00005700| 54 6f 4d 65 73 73 48 61 | 6e 64 4c 69 73 74 0d 0d |ToMessHa|ndList..|
|00005710| 6f 6e 20 61 64 64 54 6f | 46 75 6e 63 74 48 61 6e |on addTo|FunctHan|
|00005720| 64 4c 69 73 74 20 74 68 | 65 53 63 72 69 70 74 0d |dList th|eScript.|
|00005730| 67 6c 6f 62 61 6c 20 46 | 75 6e 63 74 48 61 6e 64 |global F|unctHand|
|00005740| 4c 69 73 74 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |List.set| cursor |
|00005750| 74 6f 20 62 75 73 79 0d | 70 75 74 20 46 75 6c 6c |to busy.|put Full|
|00005760| 46 69 6e 64 28 74 68 65 | 53 63 72 69 70 74 2c 22 |Find(the|Script,"|
|00005770| 66 75 6e 63 74 69 6f 6e | 22 2c 54 52 55 45 2c 54 |function|",TRUE,T|
|00005780| 52 55 45 29 20 69 6e 74 | 6f 20 73 65 61 72 63 68 |RUE) int|o search|
|00005790| 52 65 73 75 6c 74 0d 69 | 66 20 73 65 61 72 63 68 |Result.i|f search|
|000057a0| 52 65 73 75 6c 74 20 69 | 73 20 65 6d 70 74 79 20 |Result i|s empty |
|000057b0| 74 68 65 6e 20 65 78 69 | 74 20 61 64 64 54 6f 46 |then exi|t addToF|
|000057c0| 75 6e 63 74 48 61 6e 64 | 4c 69 73 74 0d 72 65 70 |unctHand|List.rep|
|000057d0| 65 61 74 20 77 69 74 68 | 20 63 6f 75 6e 74 20 3d |eat with| count =|
|000057e0| 20 31 20 74 6f 20 28 74 | 68 65 20 6e 75 6d 62 65 | 1 to (t|he numbe|
|000057f0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 73 65 |r of lin|es in se|
|00005800| 61 72 63 68 52 65 73 75 | 6c 74 29 0d 67 65 74 20 |archResu|lt).get |
|00005810| 6c 69 6e 65 20 28 63 6f | 75 6e 74 29 20 6f 66 20 |line (co|unt) of |
|00005820| 73 65 61 72 63 68 52 65 | 73 75 6c 74 0d 70 75 74 |searchRe|sult.put|
|00005830| 20 6c 69 6e 65 20 28 69 | 74 65 6d 20 32 20 6f 66 | line (i|tem 2 of|
|00005840| 20 69 74 29 20 6f 66 20 | 74 68 65 53 63 72 69 70 | it) of |theScrip|
|00005850| 74 20 69 6e 74 6f 20 74 | 68 65 53 63 72 69 70 74 |t into t|heScript|
|00005860| 4c 69 6e 65 0d 69 66 20 | 77 6f 72 64 20 31 20 6f |Line.if |word 1 o|
|00005870| 66 20 74 68 65 53 63 72 | 69 70 74 4c 69 6e 65 20 |f theScr|iptLine |
|00005880| 69 73 20 22 66 75 6e 63 | 74 69 6f 6e 22 20 74 68 |is "func|tion" th|
|00005890| 65 6e 0d 69 66 20 72 65 | 74 75 72 6e 20 26 20 77 |en.if re|turn & w|
|000058a0| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 53 63 72 69 |ord 2 of| theScri|
|000058b0| 70 74 4c 69 6e 65 20 26 | 20 72 65 74 75 72 6e 20 |ptLine &| return |
|000058c0| 69 73 20 6e 6f 74 20 69 | 6e 20 46 75 6e 63 74 48 |is not i|n FunctH|
|000058d0| 61 6e 64 4c 69 73 74 20 | 74 68 65 6e 20 c2 0d 70 |andList |then ..p|
|000058e0| 75 74 20 77 6f 72 64 20 | 32 20 6f 66 20 74 68 65 |ut word |2 of the|
|000058f0| 53 63 72 69 70 74 4c 69 | 6e 65 20 26 20 72 65 74 |ScriptLi|ne & ret|
|00005900| 75 72 6e 20 61 66 74 65 | 72 20 46 75 6e 63 74 48 |urn afte|r FunctH|
|00005910| 61 6e 64 4c 69 73 74 0d | 65 6e 64 20 69 66 0d 65 |andList.|end if.e|
|00005920| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 61 64 |nd repea|t.end ad|
|00005930| 64 54 6f 46 75 6e 63 74 | 48 61 6e 64 4c 69 73 74 |dToFunct|HandList|
|00005940| 0d 0d 6f 6e 20 61 64 64 | 54 6f 47 6c 6f 62 61 6c |..on add|ToGlobal|
|00005950| 73 20 74 68 65 53 63 72 | 69 70 74 0d 67 6c 6f 62 |s theScr|ipt.glob|
|00005960| 61 6c 20 47 6c 6f 62 61 | 6c 73 4c 69 73 74 0d 73 |al Globa|lsList.s|
|00005970| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00005980| 79 0d 70 75 74 20 46 75 | 6c 6c 46 69 6e 64 28 74 |y.put Fu|llFind(t|
|00005990| 68 65 53 63 72 69 70 74 | 2c 22 67 6c 6f 62 61 6c |heScript|,"global|
|000059a0| 22 2c 54 52 55 45 2c 54 | 52 55 45 29 20 69 6e 74 |",TRUE,T|RUE) int|
|000059b0| 6f 20 73 65 61 72 63 68 | 52 65 73 75 6c 74 0d 69 |o search|Result.i|
|000059c0| 66 20 73 65 61 72 63 68 | 52 65 73 75 6c 74 20 69 |f search|Result i|
|000059d0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|000059e0| 74 20 61 64 64 54 6f 47 | 6c 6f 62 61 6c 73 0d 72 |t addToG|lobals.r|
|000059f0| 65 70 65 61 74 20 77 69 | 74 68 20 63 6f 75 6e 74 |epeat wi|th count|
|00005a00| 20 3d 20 31 20 74 6f 20 | 28 74 68 65 20 6e 75 6d | = 1 to |(the num|
|00005a10| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00005a20| 73 65 61 72 63 68 52 65 | 73 75 6c 74 29 0d 67 65 |searchRe|sult).ge|
|00005a30| 74 20 6c 69 6e 65 20 28 | 63 6f 75 6e 74 29 20 6f |t line (|count) o|
|00005a40| 66 20 73 65 61 72 63 68 | 52 65 73 75 6c 74 0d 69 |f search|Result.i|
|00005a50| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|00005a60| 79 20 74 68 65 6e 0d 70 | 75 74 20 6c 69 6e 65 20 |y then.p|ut line |
|00005a70| 28 69 74 65 6d 20 32 20 | 6f 66 20 69 74 29 20 6f |(item 2 |of it) o|
|00005a80| 66 20 74 68 65 53 63 72 | 69 70 74 20 69 6e 74 6f |f theScr|ipt into|
|00005a90| 20 74 68 65 53 63 72 69 | 70 74 4c 69 6e 65 0d 69 | theScri|ptLine.i|
|00005aa0| 66 20 77 6f 72 64 20 31 | 20 6f 66 20 74 68 65 53 |f word 1| of theS|
|00005ab0| 63 72 69 70 74 4c 69 6e | 65 20 69 73 20 22 67 6c |criptLin|e is "gl|
|00005ac0| 6f 62 61 6c 22 20 74 68 | 65 6e 0d 67 65 74 20 77 |obal" th|en.get w|
|00005ad0| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 53 63 72 69 |ord 2 of| theScri|
|00005ae0| 70 74 4c 69 6e 65 0d 72 | 65 70 65 61 74 20 77 69 |ptLine.r|epeat wi|
|00005af0| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 28 6e 75 6d |th i = 1| to (num|
|00005b00| 62 65 72 20 6f 66 20 69 | 74 65 6d 73 20 69 6e 20 |ber of i|tems in |
|00005b10| 69 74 29 0d 69 66 20 72 | 65 74 75 72 6e 20 26 20 |it).if r|eturn & |
|00005b20| 69 74 65 6d 20 28 69 29 | 20 6f 66 20 69 74 20 26 |item (i)| of it &|
|00005b30| 20 72 65 74 75 72 6e 20 | 69 73 20 6e 6f 74 20 69 | return |is not i|
|00005b40| 6e 20 47 6c 6f 62 61 6c | 73 4c 69 73 74 20 74 68 |n Global|sList th|
|00005b50| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 28 69 29 20 |en.put i|tem (i) |
|00005b60| 6f 66 20 69 74 20 26 20 | 72 65 74 75 72 6e 20 61 |of it & |return a|
|00005b70| 66 74 65 72 20 47 6c 6f | 62 61 6c 73 4c 69 73 74 |fter Glo|balsList|
|00005b80| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00005b90| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|00005ba0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00005bb0| 61 64 64 54 6f 47 6c 6f | 62 61 6c 73 0d 0d 66 75 |addToGlo|bals..fu|
|00005bc0| 6e 63 74 69 6f 6e 20 66 | 6f 72 6d 61 74 4d 65 73 |nction f|ormatMes|
|00005bd0| 73 48 61 6e 64 4c 69 73 | 74 0d 67 6c 6f 62 61 6c |sHandLis|t.global|
|00005be0| 20 4d 65 73 73 48 61 6e | 64 4c 69 73 74 0d 70 75 | MessHan|dList.pu|
|00005bf0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 68 65 |t empty |into the|
|00005c00| 4c 69 73 74 0d 69 66 20 | 4d 65 73 73 48 61 6e 64 |List.if |MessHand|
|00005c10| 4c 69 73 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |List is |not empt|
|00005c20| 79 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |y then.r|epeat wi|
|00005c30| 74 68 20 63 6f 75 6e 74 | 20 3d 20 31 20 74 6f 20 |th count| = 1 to |
|00005c40| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |(the num|ber of l|
|00005c50| 69 6e 65 73 20 69 6e 20 | 4d 65 73 73 48 61 6e 64 |ines in |MessHand|
|00005c60| 4c 69 73 74 29 0d 69 66 | 20 43 6f 6d 6d 61 6e 64 |List).if| Command|
|00005c70| 50 65 72 69 6f 64 28 29 | 20 74 68 65 6e 20 61 62 |Period()| then ab|
|00005c80| 6f 72 74 53 63 72 69 70 | 74 73 48 61 6e 64 6c 65 |ortScrip|tsHandle|
|00005c90| 72 20 54 52 55 45 2c 54 | 52 55 45 2c 54 52 55 45 |r TRUE,T|RUE,TRUE|
|00005ca0| 0d 67 65 74 20 6c 69 6e | 65 20 28 63 6f 75 6e 74 |.get lin|e (count|
|00005cb0| 29 20 6f 66 20 4d 65 73 | 73 48 61 6e 64 4c 69 73 |) of Mes|sHandLis|
|00005cc0| 74 0d 70 75 74 20 69 74 | 20 26 20 22 2c 20 22 20 |t.put it| & ", " |
|00005cd0| 61 66 74 65 72 20 74 68 | 65 4c 69 73 74 0d 65 6e |after th|eList.en|
|00005ce0| 64 20 72 65 70 65 61 74 | 0d 64 65 6c 65 74 65 20 |d repeat|.delete |
|00005cf0| 6c 61 73 74 20 63 68 61 | 72 61 63 74 65 72 20 6f |last cha|racter o|
|00005d00| 66 20 74 68 65 4c 69 73 | 74 0d 64 65 6c 65 74 65 |f theLis|t.delete|
|00005d10| 20 6c 61 73 74 20 63 68 | 61 72 61 63 74 65 72 20 | last ch|aracter |
|00005d20| 6f 66 20 74 68 65 4c 69 | 73 74 0d 65 6c 73 65 20 |of theLi|st.else |
|00005d30| 70 75 74 20 22 2d 2d 20 | 6e 6f 6e 65 20 2d 2d 22 |put "-- |none --"|
|00005d40| 20 61 66 74 65 72 20 74 | 68 65 4c 69 73 74 0d 72 | after t|heList.r|
|00005d50| 65 74 75 72 6e 20 74 68 | 65 4c 69 73 74 0d 65 6e |eturn th|eList.en|
|00005d60| 64 20 66 6f 72 6d 61 74 | 4d 65 73 73 48 61 6e 64 |d format|MessHand|
|00005d70| 4c 69 73 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 66 |List..fu|nction f|
|00005d80| 6f 72 6d 61 74 46 75 6e | 63 74 48 61 6e 64 4c 69 |ormatFun|ctHandLi|
|00005d90| 73 74 0d 67 6c 6f 62 61 | 6c 20 46 75 6e 63 74 48 |st.globa|l FunctH|
|00005da0| 61 6e 64 4c 69 73 74 0d | 70 75 74 20 65 6d 70 74 |andList.|put empt|
|00005db0| 79 20 69 6e 74 6f 20 74 | 68 65 4c 69 73 74 0d 69 |y into t|heList.i|
|00005dc0| 66 20 46 75 6e 63 74 48 | 61 6e 64 4c 69 73 74 20 |f FunctH|andList |
|00005dd0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005de0| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 6f |n.repeat| with co|
|00005df0| 75 6e 74 20 3d 20 31 20 | 74 6f 20 28 74 68 65 20 |unt = 1 |to (the |
|00005e00| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00005e10| 69 6e 20 46 75 6e 63 74 | 48 61 6e 64 4c 69 73 74 |in Funct|HandList|
|00005e20| 29 0d 69 66 20 43 6f 6d | 6d 61 6e 64 50 65 72 69 |).if Com|mandPeri|
|00005e30| 6f 64 28 29 20 74 68 65 | 6e 20 61 62 6f 72 74 53 |od() the|n abortS|
|00005e40| 63 72 69 70 74 73 48 61 | 6e 64 6c 65 72 20 54 52 |criptsHa|ndler TR|
|00005e50| 55 45 2c 54 52 55 45 2c | 54 52 55 45 0d 67 65 74 |UE,TRUE,|TRUE.get|
|00005e60| 20 6c 69 6e 65 20 28 63 | 6f 75 6e 74 29 20 6f 66 | line (c|ount) of|
|00005e70| 20 46 75 6e 63 74 48 61 | 6e 64 4c 69 73 74 0d 70 | FunctHa|ndList.p|
|00005e80| 75 74 20 69 74 20 26 20 | 22 2c 20 22 20 61 66 74 |ut it & |", " aft|
|00005e90| 65 72 20 74 68 65 4c 69 | 73 74 0d 65 6e 64 20 72 |er theLi|st.end r|
|00005ea0| 65 70 65 61 74 0d 64 65 | 6c 65 74 65 20 6c 61 73 |epeat.de|lete las|
|00005eb0| 74 20 63 68 61 72 61 63 | 74 65 72 20 6f 66 20 74 |t charac|ter of t|
|00005ec0| 68 65 4c 69 73 74 0d 64 | 65 6c 65 74 65 20 6c 61 |heList.d|elete la|
|00005ed0| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 6f 66 20 |st chara|cter of |
|00005ee0| 74 68 65 4c 69 73 74 0d | 65 6c 73 65 20 70 75 74 |theList.|else put|
|00005ef0| 20 22 2d 2d 20 6e 6f 6e | 65 20 2d 2d 22 20 61 66 | "-- non|e --" af|
|00005f00| 74 65 72 20 74 68 65 4c | 69 73 74 0d 72 65 74 75 |ter theL|ist.retu|
|00005f10| 72 6e 20 74 68 65 4c 69 | 73 74 0d 65 6e 64 20 66 |rn theLi|st.end f|
|00005f20| 6f 72 6d 61 74 46 75 6e | 63 74 48 61 6e 64 4c 69 |ormatFun|ctHandLi|
|00005f30| 73 74 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 66 6f 72 |st..func|tion for|
|00005f40| 6d 61 74 47 6c 6f 62 61 | 6c 73 4c 69 73 74 0d 67 |matGloba|lsList.g|
|00005f50| 6c 6f 62 61 6c 20 47 6c | 6f 62 61 6c 73 4c 69 73 |lobal Gl|obalsLis|
|00005f60| 74 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |t.put em|pty into|
|00005f70| 20 74 68 65 4c 69 73 74 | 0d 69 66 20 47 6c 6f 62 | theList|.if Glob|
|00005f80| 61 6c 73 4c 69 73 74 20 | 69 73 20 6e 6f 74 20 65 |alsList |is not e|
|00005f90| 6d 70 74 79 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |mpty the|n.repeat|
|00005fa0| 20 77 69 74 68 20 63 6f | 75 6e 74 20 3d 20 31 20 | with co|unt = 1 |
|00005fb0| 74 6f 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |to (the |number o|
|00005fc0| 66 20 6c 69 6e 65 73 20 | 69 6e 20 47 6c 6f 62 61 |f lines |in Globa|
|00005fd0| 6c 73 4c 69 73 74 29 0d | 69 66 20 43 6f 6d 6d 61 |lsList).|if Comma|
|00005fe0| 6e 64 50 65 72 69 6f 64 | 28 29 20 74 68 65 6e 20 |ndPeriod|() then |
|00005ff0| 61 62 6f 72 74 53 63 72 | 69 70 74 73 48 61 6e 64 |abortScr|iptsHand|
|00006000| 6c 65 72 20 54 52 55 45 | 2c 54 52 55 45 2c 54 52 |ler TRUE|,TRUE,TR|
|00006010| 55 45 0d 67 65 74 20 6c | 69 6e 65 20 28 63 6f 75 |UE.get l|ine (cou|
|00006020| 6e 74 29 20 6f 66 20 47 | 6c 6f 62 61 6c 73 4c 69 |nt) of G|lobalsLi|
|00006030| 73 74 0d 70 75 74 20 69 | 74 20 26 20 22 2c 20 22 |st.put i|t & ", "|
|00006040| 20 61 66 74 65 72 20 74 | 68 65 4c 69 73 74 0d 65 | after t|heList.e|
|00006050| 6e 64 20 72 65 70 65 61 | 74 0d 64 65 6c 65 74 65 |nd repea|t.delete|
|00006060| 20 6c 61 73 74 20 63 68 | 61 72 61 63 74 65 72 20 | last ch|aracter |
|00006070| 6f 66 20 74 68 65 4c 69 | 73 74 0d 64 65 6c 65 74 |of theLi|st.delet|
|00006080| 65 20 6c 61 73 74 20 63 | 68 61 72 61 63 74 65 72 |e last c|haracter|
|00006090| 20 6f 66 20 74 68 65 4c | 69 73 74 0d 65 6c 73 65 | of theL|ist.else|
|000060a0| 20 70 75 74 20 22 2d 2d | 20 6e 6f 6e 65 20 2d 2d | put "--| none --|
|000060b0| 22 20 61 66 74 65 72 20 | 74 68 65 4c 69 73 74 0d |" after |theList.|
|000060c0| 72 65 74 75 72 6e 20 74 | 68 65 4c 69 73 74 0d 65 |return t|heList.e|
|000060d0| 6e 64 20 66 6f 72 6d 61 | 74 47 6c 6f 62 61 6c 73 |nd forma|tGlobals|
|000060e0| 4c 69 73 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 64 |List..fu|nction d|
|000060f0| 69 76 69 64 65 72 4c 69 | 6e 65 0d 72 65 74 75 72 |ividerLi|ne.retur|
|00006100| 6e 20 22 a5 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |n ".....|........|
|00006110| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00006120| d1 d1 d1 d1 d1 d1 d1 d1 | a5 22 0d 65 6e 64 20 64 |........|.".end d|
|00006130| 69 76 69 64 65 72 4c 69 | 6e 65 0d 0d 66 75 6e 63 |ividerLi|ne..func|
|00006140| 74 69 6f 6e 20 74 6f 70 | 42 6f 74 74 6f 6d 4c 69 |tion top|BottomLi|
|00006150| 6e 65 73 20 74 68 65 54 | 65 78 74 0d 72 65 74 75 |nes theT|ext.retu|
|00006160| 72 6e 20 22 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |rn "....|........|
|00006170| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00006180| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 22 20 26 20 72 65 |........|.." & re|
|00006190| 74 75 72 6e 20 26 20 c2 | 0d 74 68 65 54 65 78 74 |turn & .|.theText|
|000061a0| 20 26 20 72 65 74 75 72 | 6e 20 26 20 22 d1 d1 d1 | & retur|n & "...|
|000061b0| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|000061c0| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|000061d0| d1 d1 d1 22 0d 65 6e 64 | 20 74 6f 70 42 6f 74 74 |...".end| topBott|
|000061e0| 6f 6d 4c 69 6e 65 73 0d | 0d 66 75 6e 63 74 69 6f |omLines.|.functio|
|000061f0| 6e 20 6c 61 73 74 48 43 | 49 74 65 6d 20 64 65 6c |n lastHC|Item del|
|00006200| 69 6d 2c 74 68 65 54 65 | 78 74 0d 2d 2d 20 72 65 |im,theTe|xt.-- re|
|00006210| 74 75 72 6e 73 20 74 68 | 65 20 70 6f 72 74 69 6f |turns th|e portio|
|00006220| 6e 20 6f 66 20 3c 74 68 | 65 54 65 78 74 3e 20 74 |n of <th|eText> t|
|00006230| 68 61 74 20 66 6f 6c 6c | 6f 77 73 20 74 68 65 20 |hat foll|ows the |
|00006240| 6c 61 73 74 20 3c 64 65 | 6c 69 6d 3e 0d 69 66 20 |last <de|lim>.if |
|00006250| 64 65 6c 69 6d 20 69 73 | 20 69 6e 20 74 68 65 54 |delim is| in theT|
|00006260| 65 78 74 20 74 68 65 6e | 0d 70 75 74 20 6c 61 73 |ext then|.put las|
|00006270| 74 48 43 49 74 65 6d 28 | 64 65 6c 69 6d 2c 63 68 |tHCItem(|delim,ch|
|00006280| 61 72 20 6f 66 66 73 65 | 74 28 64 65 6c 69 6d 2c |ar offse|t(delim,|
|00006290| 74 68 65 54 65 78 74 29 | 20 2b 20 31 20 74 6f 20 |theText)| + 1 to |
|000062a0| c2 0d 6c 65 6e 67 74 68 | 28 74 68 65 54 65 78 74 |..length|(theText|
|000062b0| 29 20 6f 66 20 74 68 65 | 54 65 78 74 29 20 69 6e |) of the|Text) in|
|000062c0| 74 6f 20 74 68 65 54 65 | 78 74 0d 65 6e 64 20 69 |to theTe|xt.end i|
|000062d0| 66 0d 72 65 74 75 72 6e | 20 74 68 65 54 65 78 74 |f.return| theText|
|000062e0| 0d 65 6e 64 20 6c 61 73 | 74 48 43 49 74 65 6d 00 |.end las|tHCItem.|
|000062f0| 20 6f 66 20 73 63 72 69 | 70 74 20 6f 66 20 70 53 | of scri|pt of pS|
|00006300| 63 72 69 70 74 20 3e 20 | 31 29 0d 65 6e 64 20 74 |cript > |1).end t|
|00006310| 68 65 4c 65 6e 67 74 68 | 0d 00 00 00 00 00 00 00 |heLength|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.